mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Function objects - updated logic to determine whether or not to instantiate a time-based function object. Fixes #439
This commit is contained in:
@ -755,11 +755,7 @@ bool Foam::functionObjectList::read()
|
||||
fo2,
|
||||
"functionObject::" + key + "::new"
|
||||
);
|
||||
if
|
||||
(
|
||||
dict.found("writeControl")
|
||||
|| dict.found("outputControl")
|
||||
)
|
||||
if (functionObjects::timeControl::entriesPresent(dict))
|
||||
{
|
||||
foPtr.set
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user