Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Analysis routine for an input mesh without structure passing through a point. More...
#include "libmmg2d_private.h"
Go to the source code of this file.
Functions | |
int | MMG2D_setadj (MMG5_pMesh mesh, int8_t init_cc) |
int | MMG2D_singul (MMG5_pMesh mesh, MMG5_int ref) |
int | MMG2D_norver (MMG5_pMesh mesh, MMG5_int ref) |
int | MMG2D_regnor (MMG5_pMesh mesh) |
static int | MMG2D_dichotomy (MMG5_pMesh mesh, MMG5_pTria pt, MMG5_int k, double *c) |
int | MMG2D_regver (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.
Definition in file analys_2d.c.
int MMG2D_analys | ( | MMG5_pMesh | mesh | ) |
preprocessing stage: mesh analysis
Definition at line 1014 of file analys_2d.c.
|
inlinestatic |
mesh | pointer to the mesh |
pt | pointer to current triangle |
k | number of current point |
c | newly computed coordinates (giving negative area) |
In coordinate regularization, performs a dichotomy between previous point / and newly computed point in the case of negative area
Definition at line 787 of file analys_2d.c.
int MMG2D_norver | ( | MMG5_pMesh | mesh, |
MMG5_int | ref | ||
) |
mesh | pointer to 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
Definition at line 414 of file analys_2d.c.
int MMG2D_regnor | ( | MMG5_pMesh | mesh | ) |
mesh | pointer to the mesh |
Regularize normal vectors at boundary non singular edges with a Laplacian / antilaplacian smoothing
Definition at line 519 of file analys_2d.c.
int MMG2D_regver | ( | MMG5_pMesh | mesh | ) |
mesh | pointer to the mesh |
Regularize vertices coordinates at boundary non singular edges with a Laplacian / antilaplacian smoothing
Definition at line 853 of file analys_2d.c.
int MMG2D_setadj | ( | MMG5_pMesh | mesh, |
int8_t | init_cc | ||
) |
mesh | pointer to the mesh |
init_cc | 1 if we need to reinitialized cc field of tria because setadj has already been called (isosurf mode) |
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
Definition at line 50 of file analys_2d.c.
int MMG2D_singul | ( | MMG5_pMesh | mesh, |
MMG5_int | ref | ||
) |
mesh | pointer to 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
Definition at line 280 of file analys_2d.c.
|
extern |
Definition at line 42 of file mmg3d1_delone.c.