removed unused code

This commit is contained in:
mattijs
2009-02-09 10:03:35 +00:00
parent 9b0bebec00
commit 0034aca478

View File

@ -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;