From 9f666b0dbd563f7a79855318fabc267f9f70b7f3 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Thu, 17 Sep 2015 17:05:12 +0100 Subject: [PATCH] pairPatchAgglomeration: Added call to compactLevels at the end of agglomerate Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1853 --- .../pairPatchAgglomeration/pairPatchAgglomeration.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.C b/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.C index f3c986bac..46fc5f185 100644 --- a/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.C +++ b/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.C @@ -440,6 +440,8 @@ void Foam::pairPatchAgglomeration::agglomerate() nCoarseFacesOld = nCoarseFaces; } + + compactLevels(nCreatedLevels); }