Save one FindOpenElements call in MeshVolume

This commit is contained in:
Matthias Hochsteger 2023-04-21 12:52:17 +02:00
parent 7382661315
commit 4ab01fa269

View File

@ -395,6 +395,7 @@ namespace netgen
PrintMessage (3, mesh.GetNP(), " points, ",
mesh.GetNE(), " elements");
mesh.FindOpenElements(domain);
}
Box<3> domain_bbox( Box<3>::EMPTY_BOX );
@ -408,8 +409,6 @@ namespace netgen
}
domain_bbox.Increase (0.01 * domain_bbox.Diam());
mesh.FindOpenElements(domain);
int cntsteps = 0;
int meshed;
if (mesh.GetNOpenElements())