functionObjectList: Added automatic timeControl wrapping when either writeControl or executeControl entries are present
timeControl functionality is supported for both execution and writing but previously only instantiated if the writeControl entry is present in the functionObject dictionary, now it is also instantiated if only the executeControl entry is present as the functionObject might only have execute functionality.
This commit is contained in:
@ -31,7 +31,6 @@ License
|
||||
#include "etcFiles.H"
|
||||
#include "wordAndDictionary.H"
|
||||
|
||||
|
||||
/* * * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * * */
|
||||
|
||||
Foam::fileName Foam::functionObjectList::functionObjectDictPath
|
||||
@ -791,7 +790,8 @@ bool Foam::functionObjectList::read()
|
||||
|
||||
if
|
||||
(
|
||||
dict.found("writeControl")
|
||||
dict.found("executeControl")
|
||||
|| dict.found("writeControl")
|
||||
|| dict.found("outputControl")
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user