changed timestep control in molecule::move to tEnd > ROOTVSMALL

This commit is contained in:
graham
2008-07-03 17:59:04 +01:00
parent ba7d45228a
commit bb597d34c6

View File

@ -54,7 +54,7 @@ bool molecule::move(molecule::trackData& td)
U_ += 0.5*deltaT*A_;
}
while (td.keepParticle && !td.switchProcessor && tEnd > (SMALL*SMALL))
while (td.keepParticle && !td.switchProcessor && tEnd > ROOTVSMALL)
{
// set the lagrangian time-step
scalar dt = min(dtMax, tEnd);