From eb5a9fffb8339696fff5a164f533810cacf2cd23 Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@esi-group.com> Date: Wed, 24 Jan 2018 20:45:59 +0100 Subject: [PATCH] BUG: timeControlFunctionObject swallows dictionary modifications (closes #716) - runTimeModifiable change to the dictionary not being propagated to the underlying functionObjects --- .../db/functionObjects/timeControl/timeControlFunctionObject.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C b/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C index 96e088fe2dd..e31be0ce224 100644 --- a/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C +++ b/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C @@ -736,7 +736,8 @@ bool Foam::functionObjects::timeControl::read(const dictionary& dict) executeControl_.read(dict); readControls(); - return true; + // Forward to underlying function object + return foPtr_->read(dict); } return false; -- GitLab