ENH: added functionObject::execute(int) method

- this is a provision for defining execute actions that can be called
  largely independently of the normal time-loop constraints. This can
  be useful to provide hooks for sub-cycling, or to define an action
  that can be triggered manually or on some other event.
This commit is contained in:
Mark Olesen
2017-11-28 10:00:15 +01:00
parent 0af97856f1
commit 610c290969
6 changed files with 100 additions and 14 deletions

View File

@ -141,6 +141,12 @@ bool Foam::functionObject::read(const dictionary& dict)
}
bool Foam::functionObject::execute(const label)
{
return true;
}
bool Foam::functionObject::end()
{
return true;