From bd8ff13669d7b4bae38443c0fba1bd2101d3dc8d Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 2 Dec 2009 16:37:44 +0000 Subject: [PATCH 1/9] Cosmetic changes. --- src/OpenFOAM/containers/HashTables/HashSet/HashSet.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H b/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H index 4b9aa1a268..15d408bf87 100644 --- a/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H +++ b/src/OpenFOAM/containers/HashTables/HashSet/HashSet.H @@ -109,6 +109,7 @@ public: template HashSet(const HashTable&); + // Member Functions // Edit @@ -135,6 +136,7 @@ public: return insert(lst); } + // Member Operators //- Return true if the entry exists, same as found() @@ -165,7 +167,6 @@ public: //- Remove entries listed in the given HashSet from this HashSet void operator-=(const HashSet&); - }; From a0a05c1b7745747f177e518ceb08314fd0fc6a28 Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 2 Dec 2009 16:37:59 +0000 Subject: [PATCH 2/9] allow region interfaces on processor patches --- .../splitMeshRegions/splitMeshRegions.C | 94 ++++++++++++++----- 1 file changed, 72 insertions(+), 22 deletions(-) diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C index b61d997399..6abde97e61 100644 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C @@ -36,9 +36,10 @@ Description - mesh with cells put into cellZones (-makeCellZones) Note: - - Should work in parallel but cellZone interfaces cannot align with - processor boundaries so use the correct option in decomposition to - preserve those interfaces. + - Should work in parallel. + cellZones can differ on either side of processor boundaries in which case + the faces get moved from processor patch to directMapped patch. Not + ery well tested. - If a cell zone gets split into more than one region it can detect the largest matching region (-sloppyCellZones). This will accept any region that covers more than 50% of the zone. It has to be a subset @@ -514,6 +515,10 @@ void getInterfaceSizes EdgeMap