Move RemoveIllegalElements to MeshVolume()

This commit is contained in:
Matthias Hochsteger 2024-02-23 17:39:43 +01:00
parent e5b544e02b
commit 23c6b96b47
2 changed files with 1 additions and 3 deletions

View File

@ -1271,9 +1271,6 @@ namespace netgen
if (res != MESHING3_OK) return 1;
if (multithread.terminate) return 0;
RemoveIllegalElements (*mesh);
if (multithread.terminate) return 0;
MeshQuality3d (*mesh);
}

View File

@ -515,6 +515,7 @@ namespace netgen
throw NgException ("Stop meshing since surface mesh not consistent");
}
}
RemoveIllegalElements (mesh);
}
void MergeMeshes( Mesh & mesh, Array<MeshingData> & md )