mmg2d
mmg2d1.c File Reference

Mesh adaptation functions. More...

#include "mmg2d.h"
Include dependency graph for mmg2d1.c:

Functions

int MMG2D_anatri (MMG5_pMesh mesh, MMG5_pSol met, char typchk)
 
int MMG2D_anaelt (MMG5_pMesh mesh, MMG5_pSol met, int typchk)
 
int MMG2D_dichoto (MMG5_pMesh mesh, MMG5_pSol met, int k, int *vx)
 
int MMG2D_colelt (MMG5_pMesh mesh, MMG5_pSol met, int typchk)
 
int MMG2D_swpmsh (MMG5_pMesh mesh, MMG5_pSol met, int typchk)
 
int MMG2D_adptri (MMG5_pMesh mesh, MMG5_pSol met)
 
int MMG2D_adpspl (MMG5_pMesh mesh, MMG5_pSol met)
 
int MMG2D_adpcol (MMG5_pMesh mesh, MMG5_pSol met)
 
int MMG2D_movtri (MMG5_pMesh mesh, MMG5_pSol met, int maxit, char improve)
 
int MMG2D_mmg2d1n (MMG5_pMesh mesh, MMG5_pSol met)
 

Detailed Description

Mesh adaptation functions.

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

Function Documentation

◆ MMG2D_adpcol()

int MMG2D_adpcol ( MMG5_pMesh  mesh,
MMG5_pSol  met 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_adpspl()

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

Analysis and splitting routine for edges in the final step of the algorithm; edges are only splitted on a one-by-one basis

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

◆ MMG2D_adptri()

int MMG2D_adptri ( MMG5_pMesh  mesh,
MMG5_pSol  met 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_anaelt()

int MMG2D_anaelt ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  typchk 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_anatri()

int MMG2D_anatri ( MMG5_pMesh  mesh,
MMG5_pSol  met,
char  typchk 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_colelt()

int MMG2D_colelt ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  typchk 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_dichoto()

int MMG2D_dichoto ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  k,
int *  vx 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
kelement index.
vxpointer toward table of edges to split.
Returns
1.

Find acceptable position for splitting.

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

◆ MMG2D_mmg2d1n()

int MMG2D_mmg2d1n ( MMG5_pMesh  mesh,
MMG5_pSol  met 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the sol structure.
Returns
1 if success, 0 if strongly fail.

Mesh adaptation – new version of mmg2d1.c

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

◆ MMG2D_movtri()

int MMG2D_movtri ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  maxit,
char  improve 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_swpmsh()

int MMG2D_swpmsh ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  typchk 
)
Here is the call graph for this function:
Here is the caller graph for this function: