mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Time: Handle side-effects from functionObjects when checking the "running" status.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user