Some optimizations (mfp: vector instead of recalc,
reduced number of density recalculations); Default gravity field of 0; adjusted error output
This commit is contained in:
@@ -43,12 +43,15 @@ class Simulation {
|
||||
std::vector<particle::Particle> determineInjectedParticles(RandomNumbers* random);
|
||||
std::vector<particle::Particle>
|
||||
determineInjectedDensityParticles(RandomNumbers* random,
|
||||
const int numberParticlesToDraw, const int current);
|
||||
const int numberParticlesToDraw, const int current,
|
||||
std::map<std::string, double>& particleNumbers);
|
||||
|
||||
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);
|
||||
|
||||
blitz::Array<double,3> chargedensity();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user