diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C index 0438fa276d330d60e92368e907f317adc2e59947..5bb4a0ee2d03b8b5a24ec8bbdfb59b2a5ed2c153 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 - ); - - Info<< patchI << '\t' << regNames[i] << nl; - - globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI; - //} + label patchI = meshRefinement::addPatch + ( + mesh, + regNames[i], + wallPolyPatch::typeName + ); + + Info<< patchI << '\t' << regNames[i] << nl; + + globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI; } Info<< nl;