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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user