Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Mesh analysis. More...
Go to the source code of this file.
Functions | |
int | MMGS_setadj (MMG5_pMesh mesh) |
static void | nmpoints (MMG5_pMesh mesh) |
static int | setdhd (MMG5_pMesh mesh) |
static int | MMG5_singul (MMG5_pMesh mesh) |
static int | norver (MMG5_pMesh mesh) |
static int | MMGS_dichotomy (MMG5_pMesh mesh, MMG5_pTria pt, MMG5_int k, double *c, double *n) |
int | MMGS_regver (MMG5_pMesh mesh) |
int | MMGS_remDup (MMG5_pMesh mesh) |
int | MMGS_analys_for_norver (MMG5_pMesh mesh) |
int | MMGS_analys (MMG5_pMesh mesh) |
Mesh analysis.
Definition in file analys_s.c.
|
static |
mesh | pointer to the mesh structure. |
check for singularities
Definition at line 496 of file analys_s.c.
int MMGS_analys | ( | MMG5_pMesh | mesh | ) |
Definition at line 1094 of file analys_s.c.
int MMGS_analys_for_norver | ( | MMG5_pMesh | mesh | ) |
mesh | pointer to the mesh structure. |
Preprocessing stage: mesh analysis.
Definition at line 1042 of file analys_s.c.
|
inlinestatic |
mesh | pointer to the mesh |
pt | pointer to current triangle |
k | number of current point |
c | newly computed coordinates (giving negative area) |
n | normal of triangle before regularization |
In coordinate regularization, performs a dichotomy between previous point / and newly computed point in the case of negative area
Definition at line 754 of file analys_s.c.
int MMGS_regver | ( | MMG5_pMesh | mesh | ) |
mesh | pointer to a MMG5 mesh structure. |
Regularization procedure for vertices coordinates, dual Laplacian for a surface mesh.
Definition at line 817 of file analys_s.c.
int MMGS_remDup | ( | MMG5_pMesh | mesh | ) |
mesh | pointer to the mesh structure. |
Remove duplicated triangles.
Definition at line 996 of file analys_s.c.
int MMGS_setadj | ( | MMG5_pMesh | mesh | ) |
mesh | pointer to the mesh |
topology: set adjacent, detect Moebius, flip faces, count connected comp.
Definition at line 47 of file analys_s.c.
|
static |
mesh | pointer to the mesh structure. |
Detect non manifold points
Definition at line 253 of file analys_s.c.
|
static |
mesh | pointer to the mesh structure. |
Compute normals at C1 vertices, for C0: tangents This function allocate the xpoint array. A point will have an xpoint if:
Corner, required and regular points don't have xpoints.
Definition at line 599 of file analys_s.c.
|
static |
improve badly shaped elts for isotropic mesh
mesh | pointer to the mesh structure. |
check for ridges: dihedral angle
Definition at line 445 of file analys_s.c.