From 5d754679946151a6b159cdec219d4029022bb57b Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 8 Apr 2010 12:10:51 +0100 Subject: [PATCH 1/2] ENH: Added residualControl to functionObjects Allwmake script --- src/postProcessing/functionObjects/Allwmake | 1 + 1 file changed, 1 insertion(+) diff --git a/src/postProcessing/functionObjects/Allwmake b/src/postProcessing/functionObjects/Allwmake index 6c642dfe7b..980a308557 100755 --- a/src/postProcessing/functionObjects/Allwmake +++ b/src/postProcessing/functionObjects/Allwmake @@ -6,6 +6,7 @@ wmake libso field wmake libso forces wmake libso IO wmake libso utilities +wmake libso residualControl wmake libso systemCall # ----------------------------------------------------------------- end-of-file From 22717f323ff24f346e1c974baf3cf5f891646fe3 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 8 Apr 2010 13:01:28 +0100 Subject: [PATCH 2/2] Time: Handle side-effects from functionObjects when checking the "running" status. --- src/OpenFOAM/db/Time/Time.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/OpenFOAM/db/Time/Time.C b/src/OpenFOAM/db/Time/Time.C index dd0c02ddbc..8e18dc7861 100644 --- a/src/OpenFOAM/db/Time/Time.C +++ b/src/OpenFOAM/db/Time/Time.C @@ -519,6 +519,10 @@ bool Foam::Time::loop() if (running) { operator++(); + + // Check update the "running" status following the "++" operation + // to take into account possible side-effects from functionObjects + running = run(); } return running;