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

catch

parent 9f7d7453
No related branches found
No related tags found
No related merge requests found
...@@ -1309,9 +1309,14 @@ void MeshDelaunayVolume(std::vector<GRegion*> &regions) ...@@ -1309,9 +1309,14 @@ void MeshDelaunayVolume(std::vector<GRegion*> &regions)
} }
gr->set(allFaces); gr->set(allFaces);
meshGRegionBoundaryRecovery *init = new meshGRegionBoundaryRecovery(); try{
init->reconstructmesh(gr); meshGRegionBoundaryRecovery *init = new meshGRegionBoundaryRecovery();
delete init; init->reconstructmesh(gr);
delete init;
}
catch(int err){
Msg::Error("Could not recover boundary: error %d", err);
}
// sort triangles in all model faces in order to be able to search in vectors // sort triangles in all model faces in order to be able to search in vectors
std::list<GFace*>::iterator itf = allFaces.begin(); std::list<GFace*>::iterator itf = allFaces.begin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment