Merge branch 'fix_edge_swapping_2d' into 'master'

Fix in 2d edge swapping: Don't consider Segments for swapping

See merge request ngsolve/netgen!536
This commit is contained in:
Hochsteger, Matthias 2022-10-07 17:21:08 +02:00
commit a9234a589a

View File

@ -284,6 +284,8 @@ namespace netgen
{
PointIndex pi1 = sel.PNumMod(j+2);
PointIndex pi2 = sel.PNumMod(j+3);
if(mesh.IsSegment(pi1, pi2))
continue;
for (auto sei_other : elements_on_node[pi1])
{