mmg3d
mmg3d1_pattern.c File Reference

Perform volume and surface mesh adaptation with pattern splitting. More...

Include dependency graph for mmg3d1_pattern.c:

Functions

static int _MMG5_adpspl (MMG5_pMesh mesh, MMG5_pSol met, int *warn)
 
static int _MMG5_adpcol (MMG5_pMesh mesh, MMG5_pSol met)
 
static int _MMG5_adptet (MMG5_pMesh mesh, MMG5_pSol met)
 
int _MMG5_mmg3d1_pattern (MMG5_pMesh mesh, MMG5_pSol met)
 

Detailed Description

Perform volume and surface mesh adaptation with pattern splitting.

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5

Perform volume and surface mesh adaptation with pattern splitting (PATTERN preprocessor flag set to ON).

Function Documentation

◆ _MMG5_adpcol()

static int _MMG5_adpcol ( MMG5_pMesh  mesh,
MMG5_pSol  met 
)
static
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
Returns
-1 if failed.
number of deleted points.

Collapse edges of length smaller than _MMG3D_LOPTS.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _MMG5_adpspl()

static int _MMG5_adpspl ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int *  warn 
)
static
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
*warnwarn is set to 1 if we don't have enough memory to complete mesh.
Returns
-1 if failed.
number of new points.

Split edges of length bigger than _MMG3D_LOPTL.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _MMG5_adptet()

static int _MMG5_adptet ( MMG5_pMesh  mesh,
MMG5_pSol  met 
)
static
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
Returns
0 if failed, 1 otherwise.

Analyze tetrahedra and split long or collapse short edges according to prescribed metric.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _MMG5_mmg3d1_pattern()

int _MMG5_mmg3d1_pattern ( MMG5_pMesh  mesh,
MMG5_pSol  met 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
Returns
0 if failed, 1 if success.

Main adaptation routine.

— stage 1: geometric mesh
— Stage 2: computational mesh

Here is the call graph for this function:
Here is the caller graph for this function: