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:
2025-02-12 14:07:43 +01:00
parent e205e7469e
commit 047cfa8491
5 changed files with 73 additions and 50 deletions
+3 -3
View File
@@ -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);
}