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
This commit is contained in:
Arne Morten Kvarving 2022-02-07 15:52:27 +01:00
parent ffe5499917
commit 5618e4b000

View File

@ -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;