ENH: add remove objects handling in timeFunctionObject and regionFunctionObject

- makes it easier to implement functionObject or field object removal
This commit is contained in:
Mark Olesen
2019-02-08 17:47:45 +01:00
committed by Andrew Heather
parent 8f92fa016f
commit e2754962cc
19 changed files with 83 additions and 48 deletions

View File

@ -90,8 +90,8 @@ Foam::functionObjects::systemCall::systemCall
:
functionObject(name),
executeCalls_(),
endCalls_(),
writeCalls_(),
endCalls_(),
masterOnly_(false)
{
read(dict);

View File

@ -118,12 +118,12 @@ protected:
//- List of calls to execute - every step
stringList executeCalls_;
//- List of calls to execute when exiting the time-loop
stringList endCalls_;
//- List of calls to execute - write steps
stringList writeCalls_;
//- List of calls to execute when exiting the time-loop
stringList endCalls_;
//- Perform system calls on the master only
bool masterOnly_;