mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
restricth for occ and stl geometries
This commit is contained in:
parent
76ab713a80
commit
13c17adf87
@ -1264,6 +1264,9 @@ namespace netgen
|
||||
}
|
||||
}
|
||||
|
||||
for (auto mspnt : mparam.meshsize_points)
|
||||
mesh.RestrictLocalH(mspnt.pnt, mspnt.h);
|
||||
|
||||
multithread.task = savetask;
|
||||
|
||||
}
|
||||
|
@ -1369,6 +1369,10 @@ int STLMeshingDummy (STLGeometry* stlgeometry, shared_ptr<Mesh> & mesh, const Me
|
||||
stlgeometry->GetBoundingBox().PMax() + Vec3d(10, 10, 10),
|
||||
mparam.grading);
|
||||
mesh -> LoadLocalMeshSize (mparam.meshsizefilename);
|
||||
|
||||
if (mparam.uselocalh)
|
||||
for (auto mspnt : mparam.meshsize_points)
|
||||
mesh->RestrictLocalH(mspnt.pnt, mspnt.h);
|
||||
|
||||
success = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user