mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 03:40:34 +05:00
Print "Remove Illegal Elements" only when having illegal elements
This commit is contained in:
parent
d4c211f04a
commit
e5513d9417
@ -724,7 +724,6 @@ namespace netgen
|
||||
int it = 10;
|
||||
int nillegal, oldn;
|
||||
|
||||
PrintMessage (1, "Remove Illegal Elements");
|
||||
// return, if non-pure tet-mesh
|
||||
/*
|
||||
if (!mesh3d.PureTetMesh())
|
||||
@ -733,6 +732,8 @@ namespace netgen
|
||||
mesh3d.CalcSurfacesOfNode();
|
||||
|
||||
nillegal = mesh3d.MarkIllegalElements();
|
||||
if(nillegal)
|
||||
PrintMessage (1, "Remove Illegal Elements");
|
||||
|
||||
MeshingParameters dummymp;
|
||||
MeshOptimize3d optmesh(mesh3d, dummymp, OPT_LEGAL);
|
||||
|
Loading…
Reference in New Issue
Block a user