mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
map segment si as well, not only surface element index
This commit is contained in:
parent
9578e4a41d
commit
3dec7c447e
@ -5919,6 +5919,12 @@ namespace netgen
|
|||||||
SurfaceElement(els_of_face[i]).next = facedecoding[ind-1].firstelement;
|
SurfaceElement(els_of_face[i]).next = facedecoding[ind-1].firstelement;
|
||||||
facedecoding[ind-1].firstelement = els_of_face[i];
|
facedecoding[ind-1].firstelement = els_of_face[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// map the segments
|
||||||
|
for(auto& seg : segments)
|
||||||
|
if(!usedp.Test(seg[0]) || !usedp.Test(seg[1]))
|
||||||
|
if(seg.si == fdi)
|
||||||
|
seg.si = nface;
|
||||||
}
|
}
|
||||||
|
|
||||||
fdi++;
|
fdi++;
|
||||||
|
Loading…
Reference in New Issue
Block a user