Time: Handle side-effects from functionObjects when checking the "running" status.

This commit is contained in:
henry
2010-04-08 13:01:28 +01:00
parent 7a420677ec
commit 22717f323f

View File

@ -519,6 +519,10 @@ bool Foam::Time::loop()
if (running)
{
operator++();
// Check update the "running" status following the "++" operation
// to take into account possible side-effects from functionObjects
running = run();
}
return running;