From 19b4cf028914bf6fc0d658dd3a098cbd0eb815b3 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 8 Nov 2010 20:04:37 +0000 Subject: [PATCH] pp --- Mesh/meshGFace.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Mesh/meshGFace.cpp b/Mesh/meshGFace.cpp index a4b0c830af..8bf75cd732 100644 --- a/Mesh/meshGFace.cpp +++ b/Mesh/meshGFace.cpp @@ -295,9 +295,6 @@ static void remeshUnrecoveredEdges(std::map<MVertex*, BDS_Point*> &recoverMapInv static bool algoDelaunay2D(GFace *gf) { - // HACK REMOVE ME - // if (gf->geomType() == GEntity::CompoundSurface)return true; - if(noSeam(gf) && (CTX::instance()->mesh.algo2d == ALGO_2D_DELAUNAY || CTX::instance()->mesh.algo2d == ALGO_2D_BAMG || CTX::instance()->mesh.algo2d == ALGO_2D_FRONTAL)) @@ -878,8 +875,7 @@ static bool meshGenerator(GFace *gf, int RECUR_ITER, // BDS mesh is passed in order not to recompute local coordinates of // vertices if(algoDelaunay2D(gf)){ - if(CTX::instance()->mesh.algo2d == ALGO_2D_FRONTAL)// || - // gf->geomType() == GEntity::CompoundSurface) + if(CTX::instance()->mesh.algo2d == ALGO_2D_FRONTAL) bowyerWatsonFrontal(gf); else if(CTX::instance()->mesh.algo2d == ALGO_2D_DELAUNAY) bowyerWatson(gf); @@ -1463,8 +1459,7 @@ static bool meshGeneratorPeriodic(GFace *gf, bool debug = true) } if(algoDelaunay2D(gf)){ - if(CTX::instance()->mesh.algo2d == ALGO_2D_FRONTAL)// || - // gf->geomType() == GEntity::CompoundSurface) + if(CTX::instance()->mesh.algo2d == ALGO_2D_FRONTAL) bowyerWatsonFrontal(gf); else if(CTX::instance()->mesh.algo2d == ALGO_2D_DELAUNAY) bowyerWatson(gf); -- GitLab