From a535ff7c9a1b71c293f6b372e3a7ac3c11a43229 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Wed, 22 Feb 2023 11:21:12 +0000 Subject: [PATCH] codedFunctionObject: Read executeAtStart control --- .../utilities/codedFunctionObject/codedFunctionObject.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C b/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C index f14a880754..8c7de80fe0 100644 --- a/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C +++ b/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -184,7 +184,7 @@ bool Foam::codedFunctionObject::end() bool Foam::codedFunctionObject::read(const dictionary& dict) { updateLibrary(); - return redirectFunctionObject().read(dict); + return functionObject::read(dict) && redirectFunctionObject().read(dict); }