MGridGenGAMGAgglomeration: Update call to continueAgglomerating

Resolves bug-report http://bugs.openfoam.org/view.php?id=2244
This commit is contained in:
Henry Weller
2016-09-14 09:41:03 +01:00
parent a7210ecb1a
commit a28370dda1

View File

@ -286,7 +286,7 @@ Foam::MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration
);
}
if (continueAgglomerating(nCoarseCells))
if (continueAgglomerating(finalAgglomPtr().size(), nCoarseCells))
{
nCells_[nCreatedLevels] = nCoarseCells;
restrictAddressing_.set(nCreatedLevels, finalAgglomPtr);