ENH: Changing dict and name of wedge and empty polypatch

This commit is contained in:
Sergio Ferraris 2011-11-18 14:35:03 +00:00
parent c0abc91340
commit 7ae2d39f42
2 changed files with 3 additions and 3 deletions

View File

@ -1281,7 +1281,7 @@ void addZoneSidePatches
{ {
// Reuse single empty patch. // Reuse single empty patch.
word patchName; word patchName;
if (oneDPolyPatchType == "emptyPolyPatch") if (oneDPolyPatchType == "empty")
{ {
patchName = "oneDEmptyPatch"; patchName = "oneDEmptyPatch";
zoneSidePatch[zoneI] = addPatch<emptyPolyPatch> zoneSidePatch[zoneI] = addPatch<emptyPolyPatch>
@ -1291,7 +1291,7 @@ void addZoneSidePatches
newPatches newPatches
); );
} }
else if (oneDPolyPatchType == "wedgePolyPatch") else if (oneDPolyPatchType == "wedge")
{ {
patchName = "oneDWedgePatch"; patchName = "oneDWedgePatch";
zoneSidePatch[zoneI] = addPatch<wedgePolyPatch> zoneSidePatch[zoneI] = addPatch<wedgePolyPatch>

View File

@ -39,7 +39,7 @@ sampleMode nearestPatchFace;
oneD false; oneD false;
// If oneD is true. Specify which boundary is wanted between the layers // If oneD is true. Specify which boundary is wanted between the layers
//oneDPolyPatchType emptyPolyPatch; //wedgePolyPatch //oneDPolyPatchType empty; //wedge
//- Extrusion model to use. The only logical choice is linearNormal? //- Extrusion model to use. The only logical choice is linearNormal?