Skip to content
Snippets Groups Projects
Commit bb597d34 authored by graham's avatar graham
Browse files

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

parent ba7d4522
Branches
Tags
No related merge requests found
......@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment