ENH: functionObjects: force writing when used through execFlowFunctionObjects

This commit is contained in:
mattijs
2010-10-26 16:23:36 +01:00
parent 3a2822ece1
commit 797c4a7457
7 changed files with 18 additions and 12 deletions

View File

@ -144,7 +144,7 @@ bool Foam::functionObjectList::start()
}
bool Foam::functionObjectList::execute()
bool Foam::functionObjectList::execute(const bool forceWrite)
{
bool ok = true;
@ -157,7 +157,7 @@ bool Foam::functionObjectList::execute()
forAll(*this, objectI)
{
ok = operator[](objectI).execute() && ok;
ok = operator[](objectI).execute(forceWrite) && ok;
}
}