Skip to content
Snippets Groups Projects
Commit 9253e1f6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

setVolumePositivebefore cutting

parent 96ee951d
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment