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

throw exception instead of assert() when meshes overlap

parent d2560e04
No related branches found
No related tags found
No related merge requests found
......@@ -22503,7 +22503,9 @@ void tetgenmesh::rearrangesubfaces(list* missingshlist, list* boundedgelist,
}
}
} while (hitbdry < 2 && apex(spintet) != apex(starttet));
#ifdef SELF_CHECK //GMSH
assert(matchflag == true);
#endif //GMSH
tspivot(spintet, neighsh);
if (neighsh.sh != dummysh) {
printf("Error: Invalid PLC.\n");
......@@ -22511,7 +22513,8 @@ void tetgenmesh::rearrangesubfaces(list* missingshlist, list* boundedgelist,
shellmark(neighsh), shellmark(shloop));
printf(" It might be caused by a facet is defined more than once.\n");
printf(" Hint: Use -d switch to find all overlapping facets.\n");
exit(1);
terminatetetgen(1);
//GMSH exit(1);
}
// The side of 'spintet' is at which a new subface will be attached.
adjustedgering(spintet, CCW);
?: new client/server visualization mode; compound geometrical
entities; new option to force the type of views dynamically; bug
fixes.
2.4.3 (?): new client/server visualization mode; new option to force
the type of views dynamically; small bug fixes and usability
improvements.
2.4.2 (Sep 21, 2009): solver code refactoring + better IDE
integration.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment