mmg2d
|
Analysis routine for an input mesh without structure passing through a point. More...
#include "mmg2d.h"
Functions | |
int | MMG2D_setadj (MMG5_pMesh mesh) |
int | MMG2D_singul (MMG5_pMesh mesh, int ref) |
int | MMG2D_norver (MMG5_pMesh mesh, int ref) |
int | MMG2D_regnor (MMG5_pMesh mesh) |
int | MMG2D_analys (MMG5_pMesh mesh) |
Variables | |
int8_t | ddb |
Analysis routine for an input mesh without structure passing through a point.
int MMG2D_analys | ( | MMG5_pMesh | mesh | ) |
preprocessing stage: mesh analysis
int MMG2D_norver | ( | MMG5_pMesh | mesh, |
int | ref | ||
) |
mesh | pointer toward the mesh structure |
ref | reference of the boundary to analyze (analyze all the boundaries if MMG5_UNSET) |
Calculate normal vectors at vertices of the mesh.
Mark the points that we don't want to analyze
int MMG2D_regnor | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh |
Regularize normal vectors at boundary non singular edges with a Laplacian / antilaplacian smoothing
int MMG2D_setadj | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh |
Set tags GEO, BDY and REF to triangles and points by traveling the mesh; count number of subdomains or connected components
Step 1: Tags setting from triangles analysis
Step 2: Mark the edges at interface between tria and quads as nosurf and required
int MMG2D_singul | ( | MMG5_pMesh | mesh, |
int | ref | ||
) |
mesh | pointer toward the mesh structure |
ref | reference of the boundary to analyze (analyze all the boundaries if MMG5_UNSET) |
Identify singularities in the mesh.
Mark the points that we don't want to analyze
Singularity identification
int8_t ddb |