From 2840fe84aa9447981bcb3fc49fcf39d01875ab64 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 6 Oct 2010 17:18:50 +0000 Subject: [PATCH] --- Mesh/meshGFaceOptimize.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Mesh/meshGFaceOptimize.cpp b/Mesh/meshGFaceOptimize.cpp index d63ae25232..da9373666e 100644 --- a/Mesh/meshGFaceOptimize.cpp +++ b/Mesh/meshGFaceOptimize.cpp @@ -1604,14 +1604,11 @@ void recombineIntoQuads(GFace *gf) char NAME[256]; while(1){ int x = removeTwoQuadsNodes(gf); - //if (x)sprintf(NAME,"iter%dTQ.msh",COUNT++); - if (x)gf->model()->writeMSH(NAME); + //if(x){ sprintf(NAME,"iter%dTQ.msh",COUNT++); gf->model()->writeMSH(NAME);} int y= removeDiamonds(gf); - //if (y)sprintf(NAME,"iter%dD.msh",COUNT++); - if (y)gf->model()->writeMSH(NAME); + //if(y){ sprintf(NAME,"iter%dD.msh",COUNT++); gf->model()->writeMSH(NAME); } int z = _edgeSwapQuadsForBetterQuality ( gf ); - //if (z)sprintf(NAME,"iter%dS.msh",COUNT++); - if (z)gf->model()->writeMSH(NAME); + //if(z){ sprintf(NAME,"iter%dS.msh",COUNT++); gf->model()->writeMSH(NAME); } if (!(x+y+z))break; } for(int i = 0; i < CTX::instance()->mesh.nbSmoothing; i++){ -- GitLab