mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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, ",
|
PrintMessage (3, mesh.GetNP(), " points, ",
|
||||||
mesh.GetNE(), " elements");
|
mesh.GetNE(), " elements");
|
||||||
|
mesh.FindOpenElements(domain);
|
||||||
}
|
}
|
||||||
|
|
||||||
Box<3> domain_bbox( Box<3>::EMPTY_BOX );
|
Box<3> domain_bbox( Box<3>::EMPTY_BOX );
|
||||||
@ -408,8 +409,6 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
domain_bbox.Increase (0.01 * domain_bbox.Diam());
|
domain_bbox.Increase (0.01 * domain_bbox.Diam());
|
||||||
|
|
||||||
mesh.FindOpenElements(domain);
|
|
||||||
|
|
||||||
int cntsteps = 0;
|
int cntsteps = 0;
|
||||||
int meshed;
|
int meshed;
|
||||||
if (mesh.GetNOpenElements())
|
if (mesh.GetNOpenElements())
|
||||||
|
Loading…
Reference in New Issue
Block a user