From 9559aac438f8313449b22d19e7b3d127a2b7c1d4 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 15 Sep 2008 12:18:27 +0100 Subject: [PATCH] not compacting patches --- src/triSurface/triSurface/triSurface.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/triSurface/triSurface/triSurface.C b/src/triSurface/triSurface/triSurface.C index 89a48a30d6..a9f7b53e66 100644 --- a/src/triSurface/triSurface/triSurface.C +++ b/src/triSurface/triSurface/triSurface.C @@ -634,7 +634,8 @@ surfacePatchList triSurface::calcPatches(labelList& faceMap) const // Compact regions // Get last region - label maxRegion = 0; + //label maxRegion = 0; // for compacted regions + label maxRegion = patches_.size()-1; // for non-compacted regions if (faceMap.size() > 0) {