Basic changes for time resolution.
Input from json still suboptimal.
This commit is contained in:
@@ -35,7 +35,9 @@ class Injector {
|
||||
std::shared_ptr<EventPositionDistribution> position_distribution,
|
||||
std::shared_ptr<DriftVelocity> mother_drift_velocity);
|
||||
|
||||
std::vector<particle::Particle> rollNewParticles(std::mt19937* engine);
|
||||
std::vector<particle::Particle> rollNewParticles(std::mt19937* engine,
|
||||
const double current_time,
|
||||
const int time_resolution_events);
|
||||
double timePassed() const;
|
||||
|
||||
private:
|
||||
@@ -48,7 +50,8 @@ class Injector {
|
||||
std::mt19937* engine,
|
||||
const Coordinate& position,
|
||||
std::shared_ptr<species::TrackedSpecie> created_specie,
|
||||
std::shared_ptr<VelocityDistribution> creation_velocity_distribution);
|
||||
std::shared_ptr<VelocityDistribution> creation_velocity_distribution,
|
||||
const double time_birth);
|
||||
};
|
||||
|
||||
#endif /* INJECTOR_H */
|
||||
|
||||
Reference in New Issue
Block a user