Commit 4b139ad5 authored by mattijs's avatar mattijs Committed by Mark Olesen
Browse files

BUG: PBiCGStab: check minIter. Fixes #1052.

parent b948ce5b
......@@ -206,7 +206,11 @@ Foam::solverPerformance Foam::PBiCGStab::solve
solverPerf.finalResidual() =
gSumMag(sA, matrix().mesh().comm())/normFactor;
if (solverPerf.checkConvergence(tolerance_, relTol_))
solverPerf.nIterations() >= minIter_
&& solverPerf.checkConvergence(tolerance_, relTol_)
for (label cell=0; cell<nCells; cell++)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment