diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C index e56cecd6f5..5ae06130ff 100644 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C @@ -1350,72 +1350,6 @@ label findCorrespondingRegion } -//// Checks if cellZone has corresponding cellRegion. -//label findCorrespondingRegion -//( -// const cellZoneMesh& cellZones, -// const labelList& existingZoneID, // per cell the (unique) zoneID -// const labelList& cellRegion, -// const label nCellRegions, -// const label zoneI -//) -//{ -// // Region corresponding to zone. Start off with special value: no -// // corresponding region. -// label regionI = labelMax; -// -// const cellZone& cz = cellZones[zoneI]; -// -// if (cz.empty()) -// { -// // My local portion is empty. Maps to any empty cellZone. Mark with -// // special value which can get overwritten by other processors. -// regionI = -1; -// } -// else -// { -// regionI = cellRegion[cz[0]]; -// -// forAll(cz, i) -// { -// if (cellRegion[cz[i]] != regionI) -// { -// regionI = labelMax; -// break; -// } -// } -// } -// -// // Determine same zone over all processors. -// reduce(regionI, maxOp