![]() |
Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Perform surface mesh adaptation. More...
#include "libmmgs_private.h"#include "mmgsexterns_private.h"#include "mmgexterns_private.h"#include "inlined_functions_private.h"
Go to the source code of this file.
Functions | |
| int | MMGS_dichoto (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int *vx) |
| int | MMGS_dichoto1b (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int iel, int ia, MMG5_int ip) |
| int | chkedg (MMG5_pMesh mesh, MMG5_int iel) |
| static void | MMGS_set_localFunc (MMG5_pSol met, int8_t typchk, double(**MMGS_lenEdg)(MMG5_pMesh, MMG5_pSol, MMG5_int, MMG5_int, int8_t), double(**MMGS_caltri)(MMG5_pMesh, MMG5_pSol, MMG5_pTria)) |
| static int | swpmsh (MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk) |
| static int | movtri (MMG5_pMesh mesh, MMG5_pSol met, int maxit) |
| static int | MMGS_delPatternPts (MMG5_pMesh mesh, MMG5_Hash hash) |
| static int | anaelt (MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk) |
| MMG5_int | chkspl (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int i) |
| static MMG5_int | colelt (MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk) |
| static MMG5_int | adpspl (MMG5_pMesh mesh, MMG5_pSol met) |
| static MMG5_int | adpcol (MMG5_pMesh mesh, MMG5_pSol met) |
| static int | adptri (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *permNodGlob) |
| static int | anatri (MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk) |
| int | MMG5_mmgs1 (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *permNodGlob) |
Variables | |
| int8_t | ddb |
Perform surface mesh adaptation.
Definition in file mmgs1.c.
|
static |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
Collapse edges of length smaller than MMGS_LOPTS.
Definition at line 1208 of file mmgs1.c.


|
static |
|
static |
|
static |
| mesh | pointer to the mesh |
| met | pointer to the metric |
| typchk | type of check performed depending on the remeshing step |
Analyze triangles and split if needed
Definition at line 579 of file mmgs1.c.


|
static |
| int chkedg | ( | MMG5_pMesh | mesh, |
| MMG5_int | iel | ||
| ) |
| MMG5_int chkspl | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int | k, | ||
| int | i | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| k | index of element to split. |
| i | index of edge to split. |
Check if splitting edge i of element k is ok.
Definition at line 954 of file mmgs1.c.


|
static |
| mesh | pointer to mesh structure |
| met | pointer to met structure |
| typchk | type of check to perform: 1 for first stage (adaptation to capture roughly the surface mesh), 2 for second stage of adaptation (rough capture of input metric). |
Attempt to collapse small edges
Definition at line 1025 of file mmgs1.c.


| int MMG5_mmgs1 | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int * | permNodGlob | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| permNodGlob | if provided, strore the global permutation of nodes. |
Main adaptation routine.
Definition at line 1462 of file mmgs1.c.


|
inlinestatic |
| mesh | pointer to the mesh structure. |
| hash | pointer to the hash table of edges. |
Delete the points inserted by pattern if the pattern step fail.
Definition at line 537 of file mmgs1.c.


| int MMGS_dichoto | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int | k, | ||
| MMG5_int * | vx | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| k | element index. |
| vx | pointer to table of edges to split. |
Find acceptable position for splitting.
Definition at line 52 of file mmgs1.c.


| int MMGS_dichoto1b | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int | iel, | ||
| int | ia, | ||
| MMG5_int | ip | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| iel | index of the starting triangle. |
| ia | local index of the edge to split in k. |
| ip | index of the point that we try to create. |
Find acceptable position for MMG5_split1b, starting from point ip.
Definition at line 156 of file mmgs1.c.


|
inlinestatic |
| met | pointer to met structure |
| typchk | type of check to perform: 1 for first stage (adaptation to capture roughly the surface mesh), 2 for second stage of adaptation (rough capture of input metric). |
Assign functions for computation of edge lengths and tria qualities: they are now used in first stage of adaptation to ensure that, if we enter with a mesh+metric already adapted, we don't delete entierly the work done (massive collapses on planar surfaces for example).
Definition at line 406 of file mmgs1.c.


|
static |
|
static |
|
extern |
Definition at line 42 of file mmg3d1_delone.c.