diff --git a/Plugin/AnalyseCurvedMesh.cpp b/Plugin/AnalyseCurvedMesh.cpp index e1b69fba282a3bfc09b9077c9d8f257e91c37c80..6f80a63fadccbe9b5c0c228a054a22d6277ba77f 100644 --- a/Plugin/AnalyseCurvedMesh.cpp +++ b/Plugin/AnalyseCurvedMesh.cpp @@ -162,18 +162,6 @@ void GMSH_AnalyseCurvedMeshPlugin::checkValidity(int toDo) break; case 2 : - for (GModel::fiter it = _m->firstFace(); it != _m->lastFace(); it++) { - GFace *f = *it; - - unsigned int numType[3] = {0, 0, 0}; - f->getNumMeshElements(numType); - - for (int type = 0; type < 3; type++) { - MElement *const *el = f->getStartElementType(type); - for (unsigned int jo = 0; jo < numType[type]; jo++) - el[jo]->setVolumePositive(); - } - } for (GModel::fiter it = _m->firstFace(); it != _m->lastFace(); it++) { GFace *f = *it; unsigned int numType[3] = {0, 0, 0};