increase meshsize boundingbox in 2D

This commit is contained in:
Joachim Schoeberl 2021-11-30 18:39:12 +01:00
parent 72103d9bbc
commit 1c36ff9868

View File

@ -429,7 +429,7 @@ namespace netgen
PrintMessage (1, "Generate Mesh from spline geometry");
Box<2> bbox = geometry.GetBoundingBox ();
bbox.Increase (1e-2*bbox.Diam());
t_h.Start();
if (bbox.Diam() < mp.maxh)
mp.maxh = bbox.Diam();