mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
using fineness
This commit is contained in:
parent
c685dd39bf
commit
e7e48061ce
@ -216,6 +216,10 @@ DLL_HEADER Ng_Result Ng_GenerateVolumeMesh (Ng_Mesh * mesh, Ng_Meshing_Parameter
|
||||
mparam.maxh = mp->maxh;
|
||||
mparam.meshsizefilename = mp->meshsize_filename;
|
||||
|
||||
double fineness = min(1., max(0., mp->fineness));
|
||||
mparam.curvaturesafety = 0.3 + 5 * fineness;
|
||||
mparam.segmentsperedge = 0.3 + 5 * fineness;
|
||||
|
||||
m->CalcLocalH();
|
||||
|
||||
MeshVolume (mparam, *m);
|
||||
|
Loading…
Reference in New Issue
Block a user