GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MMG2D(1) FreeBSD General Commands Manual MMG2D(1)

mmg2dAdaptation and optimization of bidimensional meshes

mmg2d mesh_file⟩ [output_file] [-solsolution_file⟩] [-metmetric_file⟩] [-h] [-v] [-mn⟩] [-d] [-val] [-default] [-A] [-arx⟩ | -nr] [-hminx⟩] [-hmaxx⟩] [-hsizx⟩] [-hausdx⟩] [-hgradx⟩] [-hgradreqx⟩] [-rmc x] [-lagn⟩] [-ls x] [-lssurf x] [-noinsert] [-nomove] [-noswap] [-nosurf] [-nosizreq] [-nreg] [-xreg] [-nsdn⟩] [-opnbdy] [-optim] [-3dMeditn⟩]

The mmg2d application is dedicated to bidimensional triangular mesh remeshing.

By default it performs mesh modifications in order to control the surface approximation.
Providing a metric file, it adapts the mesh to the prescribed sizes at nodes.
Without metric file, the -optim option allows to improve the mesh quality with respect to the initial mesh size.
Providing a level-set file containing the values of the level-set function at the mesh nodes, the -ls option allows to explicitely mesh an implicit domain and the -lssurf option splits mesh boundaries on a provided isovalue.
Providing a displacement file -lag option applies a lagrangian displacement to boundary mesh nodes.

  1. Generic options:
    Print help.
    ⟨n⟩
    Tune level of verbosity.
    Takes values between -1 and 10.
    ⟨n⟩
    Set maximal memory size to n MBytes.
    Turn on debug mode.
    Write a local parameter file (with extension .mmg2d) with setted values.
    Print the default parameters values.
  2. File specifications:
    ⟨mesh_file⟩
    Input triangulation.
    ⟨output_file⟩
    Output triangulation.
    ⟨solution_file⟩
    Load metric, level-set or displacement file.
    ⟨metric_file⟩
    Load metric file in level-set mode.
  3. Mode specifications (default is mesh adaptation):
    ⟨n⟩
    Lagrangian mesh displacement according to mode 0 ( n=0 ), 1 ( ) or 2 ( ). This option is only available with the compilation flag. The LinearElasticity library must be founded to activate this flag.
    x
    Create mesh of isovalue x (0.0 if x is not provided).
    x
    Split boundary mesh on isovalue x (0.0 if x is not provided).
  4. Parameters:
    Enable anisotropy (without metric file).
    ⟨x⟩ |
    Threshold for angle detection or sharp features detection disabling.
    ⟨x⟩
    Minimal mesh size.
    ⟨x⟩
    Maximal mesh size.
    ⟨x⟩
    Constant mesh size.
    ⟨x⟩
    Control the Hausdorff distance to the underlying surface geometry.
    ⟨x⟩
    Control the gradation.
    ⟨x⟩
    Control the gradation from required entities toward others.
    x
    Remove componants whose volumic fraction is less than x (1.e-5 if x is not provided) of the whole mesh volume or not connected to base references provided in parameter file (level-set mode).
    Preserve input edges at the interface of two domains of the same reference.
    No point insertion/deletion.
    No point relocation
    No surface modifications.
    No edge or face flipping.
    No imposition of the size of required edges over required vertices.
    Normal regularization using laplacian - antilaplacian smoothing.
    Vertex coordinates regularization using laplacian - antilaplacian smoothing.
    ⟨n⟩
    Save the subdomain of index n (default is n=0 which save all subdomains).
    Mesh improvement with respect to the initial mesh size.
    ⟨n⟩
    Write and/or read Medit mesh file in 3D. If write the 2D mesh in 3D. If read and write 2D mesh in 3D. If read a 2D mesh in 3D and write it in 2D.

mmg2d returns:

  • the 0 value if successful;
  • the 1 value if the process fail but can save a conform mesh;
  • the 2 value if the process fail and can't save a comform mesh.

mmg3d(1) mmgs(1)

May 4, 2015 mmg2d

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.