mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Fix in 2d edge swapping: Don't consider Segments for swapping
This commit is contained in:
parent
7bbaf3dfa7
commit
d2ab9f6c53
@ -284,6 +284,8 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
PointIndex pi1 = sel.PNumMod(j+2);
|
PointIndex pi1 = sel.PNumMod(j+2);
|
||||||
PointIndex pi2 = sel.PNumMod(j+3);
|
PointIndex pi2 = sel.PNumMod(j+3);
|
||||||
|
if(mesh.IsSegment(pi1, pi2))
|
||||||
|
continue;
|
||||||
|
|
||||||
for (auto sei_other : elements_on_node[pi1])
|
for (auto sei_other : elements_on_node[pi1])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user