Bug fixes and formatting
This commit is contained in:
@@ -138,9 +138,8 @@ void Simulation::start() {
|
||||
|
||||
// calculate a 'stride' for the density events s.t. the same number of syncs
|
||||
// would be performed
|
||||
const int density_stride = std::ceil(static_cast<double>(
|
||||
density_events * event_stride)/beta_decay_events);
|
||||
|
||||
const int density_stride = std::ceil(density_events *
|
||||
(static_cast<double>(event_stride)/beta_decay_events));
|
||||
// calculate the scaling factor for the particle weight for particles
|
||||
// drawn from the density
|
||||
const double density_weight_factor =
|
||||
|
||||
Reference in New Issue
Block a user