Documentation

Generic options:

(availables for the 3 codes)

-d Turn on the debug mode.
-h Get help about available options.
-m n Set the maximal memory size to n MBytes.
More infos about this option.
-v n Set the verbosity level to n.
More infos about this option.
Example(s): mmg3d_adp1, Mmg histograms.
-val Print the default parameters values.
-default Save a default parameter file (extention .mmg<2d|s|3d>) that contains the parameters applied on different kind of entities.
More infos about local parameter file.

File specifications:

(availables for the 3 codes)

 

-in input_mesh_file Input triangulation.
-out output_mesh_file Output triangulation.
Example(s): mmg3d_opt1.
-sol solution_file Load metric, level-set or displacement file.
More infos about this option.
Example(s): mmg2d_adp1,  mmgs_ls1,mmg3d_adp1, mmg3d_ls1.
-met metric_file Load metric file in level-set mode in order to discretize a level-set and to adapt the output mesh to a metric in one command.
More infos about this option.
Example(s): mmg2d_ls

Parameters:

(depending on the code you use)

-A all codes Force anisotropic mesh adaptation without metric.
-ar  x all codes Value for angle detection.
More infos about this option.
Example(s):  mmg2d_gen1
-octree  n  mmg3d Maximum number of vertex per octree cell.
More infos about this option.
-hausd  x all codes Maximal Hausdorff distance for the boundaries approximation.
More infos about this option.
Example(s): mmg2d_adp1, mmgs_bdy1, mmgs_bdy2, mmg3d_ls1.
-hgrad  x all codes Gradation value.
More infos about this option.
Example(s): mmg2d_adp1, mmg3d_adp1, mmg3d_ls1.
-hmax  x all codes Maximal edge size.
More infos about this option.
Example(s): mmg2d_gen1, mmgs_bdy1, mmg3d_ls1.
-hmin  x all codes Minimal edge size.
More infos about this option.
-hsiz x all codes Build a constant size map of size x.
Example(s): mmg2d_adp1.
-lag [n]
mmg2d,mmg3d Perform lagrangian movement of boundaries of ref 10. By default, n = 0.
Example(s): mmg2d_lag. Algorithm: algo
-ls [n]
all codes Create mesh of isovalue n (0 if n is not provided).
Example(s): mmgs_ls1,mmg3d_ls1. Algorithm: algo
-lssurf [n]
all codes Split mesh boundaries along isovalue n (0 if n is not provided).
Example(s): mmg2d_lssurf1,mmgs_lssurf1,mmg3d_lssurf1.
-3dMedit n  mmg2d Save the 2D mesh in a 3d .mesh file if n=1. Read and save the mesh in a 3d .mesh file if n=2.
-nofem mmg3d Allow the creation of elements with more than one boundary faces.
-noinsert all codes No point insertion/deletion.
Example(s): mmg2d_gen1,mmg3d_ls1.
-nomove all codes No point relocation.
Example(s): mmg2d_gen1,mmg3d_ls1.
-nosurf all codes No surface modifications.
-noswap all codes No edge flipping.
Example(s): mmg2d_gen1,mmg3d_ls1.
-nr all codes No angle detection.
Example(s): mmgs_bdy2 , mmg3d_ls1.
-nreg  n all codes
Turn on (n=1) or off (n=0) normal regularization.
-nsd  n all codes
Only save the subdomain of index n. Save all subdomains if n=0 (default).
Example(s): mmg3d_ls1
-optim all codes
Mesh improvement without edge size modification.
More infos about this option.
Example(s): mmg3d_opt1.
-optimLES mmg3d
Strong isotropic mesh optimization for LES computations: tries to reduce the mesh skewness (available only in isotropic mode).
-opnbdy mmg2d,mmg3d Preseve an open boundary inside a volume mesh (triangles at the interface between tetra of same references).
Example(s): mmg3d_opnbdy
-rmc [x]
mmg2d,mmg3d Remove small parasitic componants embedded in the level-set (componants whose volume fraction is less than x of the mesh volume (1e-5 if x is not provided).
Available only in ls mode.
Example(s): mmg2d_ls
-rn mmgs, mmg3d Turn on (n=1) or off (n=0) the renumbering using SCOTCH.
-xreg all codes Smoothing/regularization of the position of boundary points using laplacian – anti-laplacian technic.

 

Comments are closed.