Removed possibility of Nphi > 1
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user