mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
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:
commit
a9234a589a
@ -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