mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
map segment si as well, not only surface element index
This commit is contained in:
parent
b855b419da
commit
37ae505d5a
@ -5919,6 +5919,12 @@ namespace netgen
|
||||
SurfaceElement(els_of_face[i]).next = facedecoding[ind-1].firstelement;
|
||||
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++;
|
||||
|
Loading…
Reference in New Issue
Block a user