Removed possibility of Nphi > 1

This commit is contained in:
2025-10-30 16:19:18 +01:00
parent 5c39fb1745
commit 5cb560e727
21 changed files with 403 additions and 524 deletions
+2 -2
View File
@@ -138,7 +138,7 @@ CartesianVector VelocityDistributionFromDensityField::rollVelocity(
// SIM_INFO("set mu values");
const blitz::Array<double, 1> mu_values = density_field_->sliceTimeInBinArray(position, energy_eV);
const blitz::Array<double, 1> mu_values = density_field_->sliceNumberInBinArray(position, energy_eV);
// std::cout << mu_values;
@@ -211,7 +211,7 @@ CartesianVector VelocityDistributionFromDensityField::rollVelocity(
// draw pitch angle from DynamicDensityField
blitz::Array<double, 1> pitchAngleValues = density_field_->
sliceTimeInBinArray(position, energy_eV);
sliceNumberInBinArray(position, energy_eV);
std::piecewise_constant_distribution<double> pitchAngle_dist(
pitchAngleBinBorders_.begin(),