mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
occ - respect maxh property of solids
This commit is contained in:
parent
8ae602b5bf
commit
8b36df94a1
@ -1095,6 +1095,10 @@ namespace netgen
|
||||
maxhdom.SetSize (geom.NrSolids());
|
||||
maxhdom = mparam.maxh;
|
||||
|
||||
int dom = 0;
|
||||
for (TopExp_Explorer e(geom.GetShape(), TopAbs_SOLID); e.More(); e.Next(), dom++)
|
||||
maxhdom[dom] = min2(maxhdom[dom], OCCGeometry::global_shape_properties[e.Current().TShape()].maxh);
|
||||
|
||||
mesh.SetMaxHDomain (maxhdom);
|
||||
|
||||
Box<3> bb = geom.GetBoundingBox();
|
||||
|
Loading…
Reference in New Issue
Block a user