From 53ddbda670cdbeeae3607615d12922d961ef495d Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 9 Jan 2024 10:09:34 +0000 Subject: [PATCH] solutionControl: Added finalIter_ initialisation Resolves bug-report https://bugs.openfoam.org/view.php?id=4045 --- src/OpenFOAM/algorithms/solutionControl/solutionControl.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/algorithms/solutionControl/solutionControl.C b/src/OpenFOAM/algorithms/solutionControl/solutionControl.C index df1790f67a..4dd90cfe71 100644 --- a/src/OpenFOAM/algorithms/solutionControl/solutionControl.C +++ b/src/OpenFOAM/algorithms/solutionControl/solutionControl.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2018-2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2018-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -69,7 +69,8 @@ Foam::solutionControl::solutionControl ), registry_(registry), algorithmName_(algorithmName), - algorithmSpaceStr_(algorithmName.size(), ' ') + algorithmSpaceStr_(algorithmName.size(), ' '), + finalIter_(false) {}