mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +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;
|
multithread.task = savetask;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1370,6 +1370,10 @@ int STLMeshingDummy (STLGeometry* stlgeometry, shared_ptr<Mesh> & mesh, const Me
|
|||||||
mparam.grading);
|
mparam.grading);
|
||||||
mesh -> LoadLocalMeshSize (mparam.meshsizefilename);
|
mesh -> LoadLocalMeshSize (mparam.meshsizefilename);
|
||||||
|
|
||||||
|
if (mparam.uselocalh)
|
||||||
|
for (auto mspnt : mparam.meshsize_points)
|
||||||
|
mesh->RestrictLocalH(mspnt.pnt, mspnt.h);
|
||||||
|
|
||||||
success = 0;
|
success = 0;
|
||||||
|
|
||||||
//mesh->DeleteMesh();
|
//mesh->DeleteMesh();
|
||||||
|
Loading…
Reference in New Issue
Block a user