Removed recalculation of the cross sections

in the interaction step; reuse the ones from
the mfp calculation
This commit is contained in:
2024-11-13 09:19:59 +01:00
parent 36f85ea79f
commit 8696517336
2 changed files with 19 additions and 13 deletions
+4 -2
View File
@@ -40,10 +40,12 @@ class Simulation {
std::vector<particle::Particle> determineInjectedParticles(
RandomNumbers* random);
double meanFreePath(particle::Particle& particle, RandomNumbers* random);
double meanFreePath(particle::Particle& particle, RandomNumbers* random,
std::vector<double>& macroscopic_cross_sections_m);
interaction::InteractionOutput interact(particle::Particle& particle,
RandomNumbers* random);
RandomNumbers* random,
std::vector<double>& macroscopic_cross_sections_m);
std::map<std::string, std::shared_ptr<species::TrackedSpecie>>
tracked_species_;