Decoupled the number of events simulated from
the timestep; Bug with density drawing present (if CPU syncs don't line up with the timestep)
This commit is contained in:
@@ -34,9 +34,9 @@ std::shared_ptr<Injector> buildInjector(
|
||||
json_path_append(path_to_injector, {"CreatedSpecies", std::string(key),
|
||||
"CreationVelocityDistribution"}));
|
||||
|
||||
info.multiplicity = json_int(json_object_by_path(value, {"Multiplicity"}), 1);
|
||||
ASSERT_POSITIVE(&info.multiplicity, "The multiplicity has to be positive. " +
|
||||
specie_name + " multiplicity: " + std::to_string(info.multiplicity));
|
||||
// info.multiplicity = json_int(json_object_by_path(value, {"Multiplicity"}), 1);
|
||||
// ASSERT_POSITIVE(&info.multiplicity, "The multiplicity has to be positive. " +
|
||||
// specie_name + " multiplicity: " + std::to_string(info.multiplicity));
|
||||
injector_infos.push_back(info);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user