From 0034aca478ddd873ada8a6aa73f1ff8067f54993 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 9 Feb 2009 10:03:35 +0000 Subject: [PATCH] removed unused code --- .../autoHexMeshDriver/autoHexMeshDriver.C | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C index 0438fa276d..5bb4a0ee2d 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C @@ -317,25 +317,18 @@ Foam::autoHexMeshDriver::autoHexMeshDriver Info<< surfaces().names()[surfI] << ':' << nl << nl; - //const triSurfaceMesh& s = surfaces()[surfI]; - //const geometricSurfacePatchList& regions = s.patches(); - //labelList nTrisPerRegion(surfaces().countRegions(s)); - forAll(regNames, i) { - //if (nTrisPerRegion[i] > 0) - //{ - label patchI = meshRefinement::addPatch - ( - mesh, - regNames[i], - wallPolyPatch::typeName - ); + label patchI = meshRefinement::addPatch + ( + mesh, + regNames[i], + wallPolyPatch::typeName + ); - Info<< patchI << '\t' << regNames[i] << nl; + Info<< patchI << '\t' << regNames[i] << nl; - globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI; - //} + globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI; } Info<< nl;