Basic changes for time resolution.
Input from json still suboptimal.
This commit is contained in:
@@ -34,13 +34,15 @@ class Simulation {
|
||||
void init(Parameter& parameter);
|
||||
void start();
|
||||
void finalize();
|
||||
void processEvents(int events);
|
||||
void processEvents(int events, std::vector<particle::Particle>& backup_queue,
|
||||
const int time_resolution_events);
|
||||
void processUntilTermination(particle::Particle& particle,
|
||||
std::vector<particle::Particle>& particle_queue);
|
||||
std::vector<particle::Particle>& particle_queue,
|
||||
std::vector<particle::Particle>& backup_queue);
|
||||
|
||||
private:
|
||||
std::vector<particle::Particle> determineInjectedParticles(
|
||||
RandomNumbers* random);
|
||||
RandomNumbers* random, const int time_resolution_events);
|
||||
|
||||
double meanFreePath(particle::Particle& particle, RandomNumbers* random);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user