Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Perform volume and surface mesh adaptation with pattern splitting. More...
Go to the source code of this file.
Functions | |
static MMG5_int | MMG5_adpspl (MMG5_pMesh mesh, MMG5_pSol met, int *warn) |
static MMG5_int | MMG5_adpcol (MMG5_pMesh mesh, MMG5_pSol met) |
static int | MMG5_adptet (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *permNodGlob) |
int | MMG5_mmg3d1_pattern (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *permNodGlob) |
Perform volume and surface mesh adaptation with pattern splitting.
Perform volume and surface mesh adaptation with pattern splitting (MMG_PATTERN preprocessor flag set to ON).
Definition in file mmg3d1_pattern.c.
|
static |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
Collapse edges of length smaller than MMG3D_LOPTS.
Find shortest edge
Try to collapse this edge
Definition at line 192 of file mmg3d1_pattern.c.
|
static |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
*warn | warn is set to 1 if we don't have enough memory to complete mesh. |
Split edges of length bigger than MMG3D_LOPTL.
Definition at line 53 of file mmg3d1_pattern.c.
|
static |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
permNodGlob | if provided, strore the global permutation of nodes. |
Analyze tetrahedra and split long or collapse short edges according to prescribed metric.
Definition at line 258 of file mmg3d1_pattern.c.
int MMG5_mmg3d1_pattern | ( | 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.
— stage 1: geometric mesh
— Stage 2: computational mesh
Definition at line 428 of file mmg3d1_pattern.c.