diff --git a/src/OpenFOAM/Make/files b/src/OpenFOAM/Make/files index 79cd748121..47a7a41a0d 100644 --- a/src/OpenFOAM/Make/files +++ b/src/OpenFOAM/Make/files @@ -354,6 +354,7 @@ $(dll)/codedBase/codedBase.C funcObjs = db/functionObjects $(funcObjs)/functionObject/functionObject.C +$(funcObjs)/functionObjectProperties/functionObjectProperties.C $(funcObjs)/functionObjectList/functionObjectList.C $(funcObjs)/stateFunctionObject/stateFunctionObject.C $(funcObjs)/timeFunctionObject/timeFunctionObject.C diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C index 4c39aa2759..8aa4168d6d 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C @@ -97,13 +97,13 @@ namespace Foam // * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * // -void Foam::functionObjectList::createStateDict() const +void Foam::functionObjectList::createPropertiesDict() const { - // Cannot set the state dictionary on construction since Time has not + // Cannot set the properties dictionary on construction since Time has not // been fully initialised - stateDictPtr_.reset + propsDictPtr_.reset ( - new IOdictionary + new functionObjects::properties ( IOobject ( @@ -412,7 +412,7 @@ Foam::functionObjectList::functionObjectList warnings_(), time_(runTime), parentDict_(parentDict), - stateDictPtr_(nullptr), + propsDictPtr_(nullptr), objectsRegistryPtr_(nullptr), execution_(execution), updated_(false) @@ -509,37 +509,38 @@ Foam::autoPtr Foam::functionObjectList::New Foam::label Foam::functionObjectList::triggerIndex() const { - return stateDict().getOrDefault