connected closeedgeenable and closeedgefact to mparam.closeedgefac, and added comments

This commit is contained in:
nsr 2020-10-30 18:33:44 +05:30
parent b3bbc670a2
commit 30c48a8df0
2 changed files with 13 additions and 3 deletions

View File

@ -1116,7 +1116,7 @@ namespace nglib
mparam.meshsizefilename = meshsize_filename;
else
mparam.meshsizefilename = "";
mparam.optsteps2d = optsteps_2d;
mparam.optsteps3d = optsteps_3d;
@ -1144,6 +1144,9 @@ namespace nglib
stlparam.resthlinelengthfac = linelengthfact;
stldoctor.geom_tol_fact = stlgeom_tol_fact;
if(closeedgeenable)
mparam.closeedgefac = closeedgefact;
}
// ------------------ End - Meshing Parameters related functions --------------------

View File

@ -136,12 +136,12 @@ public:
int parallel_meshing; //!< Enable / Disable parallel meshing
int nthreads; //!< Set number of threads to use
double opterrpow;
double opterrpow; //!< Set power of error (to approximate max err optimization)
int delaunayenable; //!< Enable / Disable delaunay
int blockfillenable; //!< Enable / Disable block fill
double blockfilldist; //!< Enable / Disable block fill distance
int maxoutersteps; //!< Set max number of outer steps
int only3D_domain_nr;
int only3D_domain_nr; //!< Select domain to perform volume meshing ignoring others. (0 => ignore none)
int try_hexes; //!< Enable / Disable hex-meshing
double surfcurvfact; //!< Set STL - surface curvature
@ -179,6 +179,13 @@ public:
- #check_overlapping_boundary: 1
- #parallel_meshing: 1
- #nthreads: 4
- #opterrpow: 2
- #delaunayenable: 1
- #blockfillenable = 1
- #blockfilldist = 0.1
- maxoutersteps = 10
- only3D_domain_nr = 0
- try_hexes = 1
- #surfcurvfact: 2
- #chartdistfact: 1.2
- #edgeanglefact: 1