Bug fixes and formatting
This commit is contained in:
@@ -35,7 +35,10 @@ VelocityDistributionFromDensityField::VelocityDistributionFromDensityField(
|
||||
energyBinBorders_(density_field->energyBinning()->binBorders()),
|
||||
pitchAngleBinBorders_(density_field->pitchAngleBinning()->binBorders()),
|
||||
theta_distribution_(std::uniform_real_distribution<double>(0.,1.)),
|
||||
mass_kg_(mass_kg) {}
|
||||
mass_kg_(mass_kg) {
|
||||
// necessary to include the underflow bin in the energy domain
|
||||
energyBinBorders_.insert(energyBinBorders_.begin(), 0);
|
||||
}
|
||||
|
||||
// not important as of now since it's meant for drawing a velocity from the
|
||||
// pitch angle distribution and not to be used in an interaction context in which
|
||||
|
||||
Reference in New Issue
Block a user