Fix debugging function GetOpenElements()

This commit is contained in:
Matthias Hochsteger 2024-10-08 14:00:12 +02:00
parent a8309fae1c
commit 8a049799e2

View File

@ -36,13 +36,13 @@ namespace netgen
mesh->SetMaterial(2, "2_points");
mesh->SetMaterial(3, "3_points");
mesh->SetMaterial(4, "4_points");
mesh->Compress();
mesh->ClearSurfaceElements();
for (auto & el : openelements)
mesh->AddSurfaceElement( el );
mesh->Compress();
return mesh;
}