mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-03 16:50:34 +05:00
increase meshsize boundingbox in 2D
This commit is contained in:
parent
72103d9bbc
commit
1c36ff9868
@ -429,7 +429,7 @@ namespace netgen
|
|||||||
PrintMessage (1, "Generate Mesh from spline geometry");
|
PrintMessage (1, "Generate Mesh from spline geometry");
|
||||||
|
|
||||||
Box<2> bbox = geometry.GetBoundingBox ();
|
Box<2> bbox = geometry.GetBoundingBox ();
|
||||||
|
bbox.Increase (1e-2*bbox.Diam());
|
||||||
t_h.Start();
|
t_h.Start();
|
||||||
if (bbox.Diam() < mp.maxh)
|
if (bbox.Diam() < mp.maxh)
|
||||||
mp.maxh = bbox.Diam();
|
mp.maxh = bbox.Diam();
|
||||||
|
Loading…
Reference in New Issue
Block a user