1MMGS(1)                   BSD General Commands Manual                  MMGS(1)
2

NAME

4     mmgs — Adaptation and optimization of a surface triangulation represent‐
5     ing a piecewise linear approximation of an underlying surface geometry.
6

SYNOPSIS

8     mmgs mesh_file⟩ [output_file] [-sol solution_file⟩] [-h] [-v] [-m n⟩]
9          [-d] [-val] [-ar x⟩] [-nr] [-hmin x⟩] [-hmax x⟩] [-hsiz x⟩]
10          [-hausd x⟩] [-hgrad x⟩] [-A] [-ls x] [-keep-ref] [-nreg] [-rn n⟩]
11

DESCRIPTION

13     The mmgs application is dedicated to surface triangulation remeshing.
14
15     By default it performs mesh modifications in order to control the surface
16     approximation.
17     Providing a metric file, it adapts the mesh to the prescribed sizes at
18     nodes.
19     Providing a level-set file containing the values of the level-set func‐
20     tion at the mesh nodes, the -ls option allows to explicitely mesh an
21     implicit domain.
22

COMMAND LINE ARGUMENTS

24     1.   Generic options:
25          -h                      Print help.
26          -v ⟨n⟩                  Tune level of verbosity.
27                                  Takes values between -1 and 10.
28          -m ⟨n⟩                  Set maximal memory size to n MBytes.
29          -d                      Turn on debug mode.
30          -val                    Print the default parameters values.
31
32     2.   File specifications:
33          -in ⟨mesh_file⟩         Input triangulation.
34          -out ⟨output_file⟩      Output triangulation.
35          -sol ⟨solution_file⟩    Load metric file.
36
37     3.   Parameters:
38          -ar ⟨x⟩                 Angle detection.
39          -nr                     Disable automatic detection of sharp feature
40                                  (ridges, corners).
41          -hmin ⟨x⟩               Minimal mesh size.
42          -hmax ⟨x⟩               Maximal mesh size.
43          -hsiz ⟨x⟩               Constant mesh size.
44          -hausd ⟨x⟩              Control the Hausdorff distance to the under‐
45                                  lying surface geometry.
46          -hgrad ⟨x⟩              Control the gradation.
47          -A                      Enable anisotropy (without metric file).
48          -ls x                   Create mesh of isovalue x (0.0 if x is not
49                                  provided).
50          -keep-ref               Preserve initial domain references when cre‐
51                                  ate the mesh of isovalue.
52          -nreg                   Normal regularization.
53
54     4.   Additional parameters depending on compilation flags:
55          -rn ⟨n⟩                 Turn on ( n=1 ) or off ( n=0 ) the renumber‐
56                                  ing using the SCOTCH library (only available
57                                  with the USE_SCOTCH compilation flag).
58

RETURN VALUES

60     mmgs returns:
61     ·   the 0 value if successful;
62     ·   the 1 value if the process fail but we can save a conform mesh;
63     ·   the 2 value if the process fail and we can't save a conform mesh.
64

SEE ALSO

66     mmg3d(1) mmg2d(1)
67
68mmgs                             May 04, 2015                             mmgs
Impressum