mmg2d man page

mmg2d — Adaptation and optimization of bidimensional meshes

Synopsis

mmg2dmesh_file⟩ [output_file] [-solsolution_file] [-movmoving_file] [-h] [-v] [-mn] [-d] [-val] [-arx] [-nr] [-hminx] [-hmaxx] [-hsizx] [-hausdx] [-hgradx] [-lagn] [-ls x] [-nsdn] [-mshn] [-degradQw Qdeg] [-optim] [-noswap] [-nomove] [-noinsert]

Description

The mmg2d application is dedicated to bidimensional triangular mesh remeshing.

By default it improve the mesh quality with respect to its initial size.
Providing a metric file, it adapts the mesh to the prescribed sizes at nodes. -ls option allows to explicitly mesh an implicit domain.
Without metric file, the -optim option allow to improve the mesh quality with respect to the initial mesh size.

Command Line Arguments

  1. Generic options:

    -h

    Print help.

    -v ⟨n⟩

    Tune level of verbosity.
    Takes values between -1 and 10.

    -m ⟨n⟩

    Set maximal memory size to n MBytes.

    -d

    Turn on debug mode.

    -val

    Print the default parameters values.

  2. File specifications:

    -in ⟨mesh_file⟩

    Input triangulation.

    -out ⟨output_file⟩

    Output triangulation.

    -sol ⟨solution_file⟩

    Load metric file.

    -mov ⟨moving_file⟩

    Load displacement file (only with the -lag option).

  3. Parameters:

    -ar ⟨x⟩

    Angle detection.

    -nr

    Disable detection of sharp features (ridges, corners).

    -hmin ⟨x⟩

    Minimal mesh size.

    -hmax ⟨x⟩

    Maximal mesh size.

    -hsiz ⟨x⟩

    Constant mesh size.

    -hausd ⟨x⟩

    Control the Hausdorff distance to the underlying surface geometry.

    -hgrad ⟨x⟩

    Control the gradation.

    -lag ⟨n⟩

    Lagrangian mesh displacement according to mode 0 ( n=0 ), 1 ( n=1 ) or 2 ( n=2 ).

    -ls x

    Create mesh of isovalue x (0.0 if x is not provided).

    -optim

    Mesh improvement with respect to the initial mesh size.

    -noswap

    No edge or face flipping.

    -nomove

    No point relocation

    -noinser.

    No point insertion/deletion.

    -nsd ⟨n⟩

    If the mesh don't have triangles, save the subdomain number n (set n=0 to save all subdomains).

    -msh ⟨n⟩

    Write and/or read mesh files at the gmsh file format. Save the mesh at gmsh format if val=1. Read and write the meshes at the gmsh format if val=2.

    -degrad ⟨Qw Qdeg⟩

    Optimization thresholds for the -lag option.

Return Values

mmg2d returns:

See Also

mmg3d(1) mmgs(1)

Referenced By

mmg3d(1), mmgs(1).

May 4, 2015