proper initialize face2surfedl

This commit is contained in:
Joachim Schoeberl 2025-01-10 16:59:43 +01:00
parent c4985c49e1
commit 892271fd08

View File

@ -1227,7 +1227,7 @@ namespace netgen
face2surfel.SetSize (nfa);
face2surfel = 0;
face2surfel = SurfaceElementIndex::INVALID;
for (SurfaceElementIndex sei = 0; sei < nse; sei++)
face2surfel[GetFace(sei)] = sei;