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

This commit is contained in:
Matthias Hochsteger 2022-10-07 17:01:40 +02:00
parent 7bbaf3dfa7
commit d2ab9f6c53

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])
{