diff --git a/Mesh/meshGFace.cpp b/Mesh/meshGFace.cpp index a4b0c830af47b89bc7056debb559acdfffbeb343..8bf75cd732060990b87b5f21635583fef6f35dd6 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);