mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects: Separated 'execute' and 'write' functions to simplify support for post-processing
This commit is contained in:
@ -185,7 +185,7 @@ bool Foam::functionObjectList::start()
|
||||
}
|
||||
|
||||
|
||||
bool Foam::functionObjectList::execute(const bool forceWrite)
|
||||
bool Foam::functionObjectList::execute(const bool postProcess)
|
||||
{
|
||||
bool ok = true;
|
||||
|
||||
@ -198,7 +198,8 @@ bool Foam::functionObjectList::execute(const bool forceWrite)
|
||||
|
||||
forAll(*this, objectI)
|
||||
{
|
||||
ok = operator[](objectI).execute(forceWrite) && ok;
|
||||
ok = operator[](objectI).execute(postProcess) && ok;
|
||||
ok = operator[](objectI).write(postProcess) && ok;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user