Added option whether particles should be stored

explicitly
This commit is contained in:
2025-09-09 10:49:57 +02:00
parent c57dd44dde
commit 641e26c10b
6 changed files with 70 additions and 43 deletions
+3 -3
View File
@@ -51,14 +51,14 @@ class Simulation {
std::map<std::string, double>& particleNumbers,
bool& all_bins_done);
double meanFreePath(particle::Particle& particle, RandomNumbers* random,
std::vector<double>& macroscopic_cross_sections_m);
// double meanFreePath(particle::Particle& particle, RandomNumbers* random,
// std::vector<double>& macroscopic_cross_sections_m);
// draw the individual collision times of the possible interactions and return the
// minimum of them. Also sets the "nextInteractionIndex" in the particle to the
// interaction of the chosen time.
double collisionTime(particle::Particle& particle, RandomNumbers* random);
void collisionTime(particle::Particle& particle, RandomNumbers* random);
interaction::InteractionOutput interact(particle::Particle& particle,
RandomNumbers* random);