Changed distance drawing procedure;

Changed mover to work with times instead of distance;
Changed how interactions are done (recombination still tbd)
This commit is contained in:
2025-05-08 09:56:25 +02:00
parent 2c79c567d8
commit 60430abcba
16 changed files with 225 additions and 76 deletions
+8
View File
@@ -53,6 +53,14 @@ class Simulation {
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);
interaction::InteractionOutput interact(particle::Particle& particle,
RandomNumbers* random);
interaction::InteractionOutput interact(particle::Particle& particle,
RandomNumbers* random,
std::vector<double>& macroscopic_cross_sections_m);