mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +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;
|
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