From 9f89faaa69d05c0c1c05eafe05d7445093d0b04f Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 18 May 2015 11:54:03 +0100 Subject: [PATCH] extrudeMesh: Add wedge patches after edge collapse --- .../extrude/extrudeMesh/extrudeMesh.C | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C index ad6bc7a8b0..a7ec45eef4 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C @@ -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(model())) - { - changeFrontBackPatches - ( - mesh, - frontPatchName, - backPatchName - ); - } - else if (isType(model())) - { - changeFrontBackPatches - ( - 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(model())) + { + changeFrontBackPatches + ( + mesh, + frontPatchName, + backPatchName + ); + } + else if (isType(model())) + { + changeFrontBackPatches + ( + mesh, + frontPatchName, + backPatchName + ); + } + + // Merging front and back patch faces // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~