Commit 7cc35abc authored by Henry Weller's avatar Henry Weller
Browse files

GAMGAgglomeration: corrected continueAgglomerating

Patch provided by Mattijs Janssens
Resolves bug-report
parent f281477d
......@@ -211,9 +211,9 @@ bool Foam::GAMGAgglomeration::continueAgglomerating
) const
const label nTotalCoarseCells = returnReduce(nCoarseCells, sumOp<label>());
if (nTotalCoarseCells >= Pstream::nProcs()*nCellsInCoarsestLevel_)
if (nTotalCoarseCells < Pstream::nProcs()*nCellsInCoarsestLevel_)
return true;
return false;
Supports Markdown
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