mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Save one FindOpenElements call in MeshVolume
This commit is contained in:
parent
7382661315
commit
4ab01fa269
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user