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 b3e5224753
commit e75d811b7d

View File

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