From 5618e4b0007a2895fe387449e60df28a775f9fb0 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 7 Feb 2022 15:52:27 +0100 Subject: [PATCH] changed: print iteration history in NonLinSIM even at msgLevel -1 allows suppressing norm and solution summary output, while still keeping the iteration history. useful in split simulators such as Chorin --- src/SIM/NonLinSIM.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SIM/NonLinSIM.C b/src/SIM/NonLinSIM.C index 702308c6..60f98264 100644 --- a/src/SIM/NonLinSIM.C +++ b/src/SIM/NonLinSIM.C @@ -434,7 +434,7 @@ ConvStatus NonLinSIM::checkConvergence (TimeStep& param) if (param.iter > 1 && prevNorm > 0.0 && fabs(norm) > prevNorm*0.1) status = SLOW; - if (msgLevel > 0) + if (msgLevel > 0 || msgLevel == -1) { // Print convergence history utl::LogStream& cout = model.getProcessAdm().cout;