ENH: extrudeToRegionMesh: extrude into single empty patch

This commit is contained in:
mattijs
2011-04-20 11:07:14 +01:00
parent a44a993d27
commit 784e9f444d

View File

@ -1210,12 +1210,13 @@ int main(int argc, char *argv[])
<< endl; << endl;
label nSide = 0; label nSide = 0;
forAll(zoneSidePatch, zoneI) forAll(zoneSidePatch, zoneI)
{ {
if (oneD) if (oneD)
{ {
// Always add empty patches, one per zone. // Reuse single empty patch.
word patchName = faceZones[zoneI].name() + "_" + "side"; word patchName = "oneDEmptPatch";
zoneSidePatch[zoneI] = addPatch<emptyPolyPatch> zoneSidePatch[zoneI] = addPatch<emptyPolyPatch>
( (