included guard against very large (or inf) timesteps
This commit is contained in:
@@ -37,4 +37,8 @@ bool Terminator::reachedMaxTimeAlive(const particle::Particle* particle) const {
|
||||
bool Terminator::leftSimulationDomain(
|
||||
const particle::Particle* particle) const {
|
||||
return !(geometry_->isInside(particle->position()));
|
||||
}
|
||||
|
||||
double Terminator::maxTimeAlive() const {
|
||||
return max_time_alive_;
|
||||
}
|
||||
Reference in New Issue
Block a user