mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
Fix CombineImprove with non-tets in mesh
This commit is contained in:
parent
787169d2b8
commit
d13a98231b
@ -239,6 +239,7 @@ double MeshOptimize3d :: CombineImproveEdge (
|
||||
{
|
||||
Element & elem = mesh[ei];
|
||||
if (elem.IsDeleted()) return false;
|
||||
if(elem.GetType() != TET) return false; // TODO: implement case where pi0 or pi1 is top of a pyramid
|
||||
|
||||
if (elem[0] == pi0 || elem[1] == pi0 || elem[2] == pi0 || elem[3] == pi0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user