Merge branch 'fix_point_in_sphere' into 'master'

fix glued point in sphere (was removed by compress)

See merge request ngsolve/netgen!626
This commit is contained in:
Schöberl, Joachim 2024-02-07 15:14:30 +01:00
commit 761f896164

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);