extrudeMesh: Add wedge patches after edge collapse
This commit is contained in:
parent
850ad0913c
commit
9f89faaa69
@ -841,31 +841,6 @@ int main(int argc, char *argv[])
|
||||
<< endl;
|
||||
|
||||
|
||||
// Change the front and back patch types as required
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
word frontBackType(word::null);
|
||||
|
||||
if (isType<extrudeModels::wedge>(model()))
|
||||
{
|
||||
changeFrontBackPatches<wedgePolyPatch>
|
||||
(
|
||||
mesh,
|
||||
frontPatchName,
|
||||
backPatchName
|
||||
);
|
||||
}
|
||||
else if (isType<extrudeModels::plane>(model()))
|
||||
{
|
||||
changeFrontBackPatches<emptyPolyPatch>
|
||||
(
|
||||
mesh,
|
||||
frontPatchName,
|
||||
backPatchName
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// Collapse edges
|
||||
// ~~~~~~~~~~~~~~
|
||||
|
||||
@ -939,6 +914,31 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
|
||||
// Change the front and back patch types as required
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
word frontBackType(word::null);
|
||||
|
||||
if (isType<extrudeModels::wedge>(model()))
|
||||
{
|
||||
changeFrontBackPatches<wedgePolyPatch>
|
||||
(
|
||||
mesh,
|
||||
frontPatchName,
|
||||
backPatchName
|
||||
);
|
||||
}
|
||||
else if (isType<extrudeModels::plane>(model()))
|
||||
{
|
||||
changeFrontBackPatches<emptyPolyPatch>
|
||||
(
|
||||
mesh,
|
||||
frontPatchName,
|
||||
backPatchName
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// Merging front and back patch faces
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user