Decoupled timestep from number of beta events
This commit is contained in:
@@ -36,16 +36,18 @@ class Simulation {
|
||||
void finalize();
|
||||
// cpu_syncs only included for debug purposes, e.g. only drawing decay particles
|
||||
// at the 0th timestep
|
||||
void processEvents(int events, int density_events, int cpu_syncs,
|
||||
const double beta_particle_weight);
|
||||
void processEvents(int events, const double beta_particle_weight);
|
||||
|
||||
void processDensityEvents(int events, const double weight_factor);
|
||||
void processUntilTermination(particle::Particle& particle);
|
||||
|
||||
private:
|
||||
std::vector<particle::Particle> determineInjectedParticles(RandomNumbers* random,
|
||||
const double beta_particle_weight);
|
||||
std::vector<particle::Particle>
|
||||
determineInjectedDensityParticles(RandomNumbers* random,
|
||||
const int numberParticlesToDraw, const int current,
|
||||
std::vector<particle::Particle> determineInjectedDensityParticles(
|
||||
RandomNumbers* random,
|
||||
const double weight_factor,
|
||||
const int current,
|
||||
std::map<std::string, double>& particleNumbers);
|
||||
|
||||
double meanFreePath(particle::Particle& particle, RandomNumbers* random,
|
||||
|
||||
Reference in New Issue
Block a user