From 795f6e85ff27f988286cc45e951216c09f58b98f Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Fri, 29 Oct 2010 16:41:26 +0100 Subject: [PATCH] STYLE: splitMeshRegions : 80 char line length --- .../splitMeshRegions/splitMeshRegions.C | 66 ------------------- 1 file changed, 66 deletions(-) diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C index e56cecd6f5d..5ae06130ff6 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<label>()); -// -// -// // 2. All of region present? -// -// if (regionI == labelMax) -// { -// regionI = -1; -// } -// else if (regionI != -1) -// { -// forAll(cellRegion, cellI) -// { -// if (cellRegion[cellI] == regionI && existingZoneID[cellI] != zoneI) -// { -// // cellI in regionI but not in zoneI -// regionI = -1; -// break; -// } -// } -// // If one in error, all should be in error. Note that branch gets taken -// // on all procs. -// reduce(regionI, minOp<label>()); -// } -// -// return regionI; -//} - - // Get zone per cell // - non-unique zoning // - coupled zones -- GitLab