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. |
-val | Print the default parameters values. |
File specifications:
(availables for the 3 codes)
-in input_mesh_file | Input triangulation. |
-out output_mesh_file | Output triangulation. Example(s): mmg3d_opt1. |
-sol metric_file | Load metric file. More infos about this option. Example(s): mmg2d_adp1, mmg3d_adp1, mmg3d_ls1. |
Parameters:
(depending on the code you use)
-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): mmg3d_ls1. Algorithm: algo |
-msh n | mmg2d | Save the 2D mesh in a 3d .mesh file for gmsh visualization if n=1. Read and save the mesh in a 3d .mesh file if n=2. |
-noinsert | all codes | No point insertion/deletion. Example(s): mmg2d_gen1. |
-nomove | all codes | No point relocation. Example(s): mmg2d_gen1. |
-nosurf | all codes | No surface modifications. |
-noswap | all codes | No edge flipping. Example(s): mmg2d_gen1. |
-nr | all codes | No angle detection. Example(s): mmgs_bdy2 , mmg3d_ls1. |
-nreg n | mmgs | Turn on (n=1) or off (n=0) normal regularization. |
-nsd n | mmg2d | In mesh generation mode (no given triangle), save the subdomain of index n. Save all subdomains if n=0 (default). |
-optim | mmg2d, mmg3d | Mesh improvement without edge size modification. More infos about this option. Example(s): mmg3d_opt1. |
-opnbdy | mmg3d | Preseve an open boundary inside a volume mesh (triangles at the interface between tetra of same references). |
-rn | mmgs, mmg3d | Turn on (n=1) or off (n=0) the renumbering using SCOTCH. |