map segment si as well, not only surface element index

This commit is contained in:
Christopher Lackner 2020-11-03 17:29:58 +01:00
parent b855b419da
commit 37ae505d5a

View File

@ -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++;