|
mmgs
|
Perform surface mesh adaptation. More...
#include "mmgs.h"
Functions | |
| int | MMGS_dichoto (MMG5_pMesh mesh, MMG5_pSol met, int k, int *vx) |
| int | MMGS_dichoto1b (MMG5_pMesh mesh, MMG5_pSol met, int iel, int ia, int ip) |
| int | chkedg (MMG5_pMesh mesh, int iel) |
| 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) |
| int | chkspl (MMG5_pMesh mesh, MMG5_pSol met, int k, int i) |
| static int | colelt (MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk) |
| static int | adpspl (MMG5_pMesh mesh, MMG5_pSol met) |
| static int | adpcol (MMG5_pMesh mesh, MMG5_pSol met) |
| static int | adptri (MMG5_pMesh mesh, MMG5_pSol met, int *permNodGlob) |
| static int | anatri (MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk) |
| int | MMG5_mmgs1 (MMG5_pMesh mesh, MMG5_pSol met, int *permNodGlob) |
Variables | |
| int8_t | ddb |
Perform surface mesh adaptation.
|
static |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
Collapse edges of length smaller than MMGS_LOPTS.


|
static |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
Split edges of length bigger than MMGS_LOPTL.


|
static |


|
static |
| mesh | pointer toward the mesh |
| met | pointer toward the metric |
| typchk | type of check performed depending on the remeshing step |
Analyze triangles and split if needed


|
static |


| int chkedg | ( | MMG5_pMesh | mesh, |
| int | iel | ||
| ) |


| int chkspl | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | k, | ||
| int | i | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward 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.


|
static |


| int MMG5_mmgs1 | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int * | permNodGlob | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| permNodGlob | if provided, strore the global permutation of nodes. |
Main adaptation routine.


|
inlinestatic |
| mesh | pointer toward the mesh structure. |
| hash | pointer toward the hash table of edges. |
Delete the points inserted by pattern if the pattern step fail.


| int MMGS_dichoto | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | k, | ||
| int * | vx | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| k | element index. |
| vx | pointer toward table of edges to split. |
Find acceptable position for splitting.


| int MMGS_dichoto1b | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | iel, | ||
| int | ia, | ||
| int | ip | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward 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.


|
static |


|
static |


| int8_t ddb |