Skip to content
Snippets Groups Projects
Commit 22717f32 authored by henry's avatar henry
Browse files

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

parent 7a420677
Branches
Tags
No related merge requests found
...@@ -519,6 +519,10 @@ bool Foam::Time::loop() ...@@ -519,6 +519,10 @@ bool Foam::Time::loop()
if (running) if (running)
{ {
operator++(); operator++();
// Check update the "running" status following the "++" operation
// to take into account possible side-effects from functionObjects
running = run();
} }
return running; return running;
......
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