From 9253e1f670a387920afb0d83f00d193a889c8374 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 20 Aug 2009 12:14:12 +0000 Subject: [PATCH] setVolumePositivebefore cutting --- Geo/MElementCut.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Geo/MElementCut.cpp b/Geo/MElementCut.cpp index 7331cb5862..7c80f70d1b 100644 --- a/Geo/MElementCut.cpp +++ b/Geo/MElementCut.cpp @@ -761,6 +761,7 @@ GModel *buildCutMesh(GModel *gm, gLevelset *ls, for(unsigned int i = 0; i < gmEntities.size(); i++) { for(unsigned int j = 0; j < gmEntities[i]->getNumMeshElements(); j++) { MElement *e = gmEntities[i]->getMeshElement(j); + e->setVolumePositive(); elementCutMesh (e, ls, gmEntities[i], gm, numEle, vertexMap, newVertices, elements, border, physicals, entityCut); cutGM->getMeshPartitions().insert(e->getPartition()); -- GitLab