Consider draw_surfaces bitarray when drawing surface vectors

This commit is contained in:
Matthias Hochsteger 2024-01-25 16:00:45 +01:00
parent 2ff886457f
commit 0c885db5a4

View File

@ -2308,6 +2308,8 @@ namespace netgen
for (sei = 0; sei < nse; sei++) for (sei = 0; sei < nse; sei++)
{ {
const Element2d & el = (*mesh)[sei]; const Element2d & el = (*mesh)[sei];
if(!SurfaceElementActive(vsol, *mesh, el))
continue;
if (el.GetType() == TRIG || el.GetType() == TRIG6) if (el.GetType() == TRIG || el.GetType() == TRIG6)
{ {