fix glued point in sphere (was removed by compress)

This commit is contained in:
Christopher Lackner 2024-02-07 15:05:03 +01:00
parent adbdf194e0
commit 282c3e5c0a

View File

@ -4043,6 +4043,9 @@ namespace netgen
pused[seg[j]] = true;
}
for(auto& pe : pointelements)
pused[pe.pnum] = true;
for (int i = 0; i < openelements.Size(); i++)
{
const Element2d & el = openelements[i];
@ -4129,6 +4132,9 @@ namespace netgen
seg[j] = op2np[seg[j]];
}
for(auto& pe : pointelements)
pe.pnum = op2np[pe.pnum];
for (int i = 1; i <= openelements.Size(); i++)
{
Element2d & el = openelements.Elem(i);