Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions
mmg2d1.c File Reference

Mesh adaptation functions. More...

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

Go to the source code of this file.

Functions

int MMG2D_anatri (MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk)
 
MMG5_int MMG2D_anaelt (MMG5_pMesh mesh, MMG5_pSol met, int typchk)
 
int MMG2D_dichoto (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int *vx)
 
MMG5_int MMG2D_colelt (MMG5_pMesh mesh, MMG5_pSol met, int typchk)
 
MMG5_int MMG2D_swpmsh (MMG5_pMesh mesh, MMG5_pSol met, int typchk)
 
int MMG2D_adptri (MMG5_pMesh mesh, MMG5_pSol met)
 
MMG5_int MMG2D_adpspl (MMG5_pMesh mesh, MMG5_pSol met)
 
int MMG2D_adpcol (MMG5_pMesh mesh, MMG5_pSol met)
 
MMG5_int MMG2D_movtri (MMG5_pMesh mesh, MMG5_pSol met, int maxit, int8_t 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

Definition in file mmg2d1.c.

Function Documentation

◆ MMG2D_adpcol()

int MMG2D_adpcol ( MMG5_pMesh  mesh,
MMG5_pSol  met 
)

Definition at line 696 of file mmg2d1.c.

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

◆ MMG2D_adpspl()

MMG5_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

Definition at line 640 of file mmg2d1.c.

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 
)

Definition at line 550 of file mmg2d1.c.

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

◆ MMG2D_anaelt()

MMG5_int MMG2D_anaelt ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  typchk 
)

Definition at line 111 of file mmg2d1.c.

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,
int8_t  typchk 
)

Definition at line 40 of file mmg2d1.c.

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

◆ MMG2D_colelt()

MMG5_int MMG2D_colelt ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  typchk 
)

Definition at line 437 of file mmg2d1.c.

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,
MMG5_int  k,
MMG5_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.

Definition at line 360 of file mmg2d1.c.

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

Definition at line 819 of file mmg2d1.c.

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

◆ MMG2D_movtri()

MMG5_int MMG2D_movtri ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  maxit,
int8_t  improve 
)

Definition at line 755 of file mmg2d1.c.

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

◆ MMG2D_swpmsh()

MMG5_int MMG2D_swpmsh ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  typchk 
)

Definition at line 514 of file mmg2d1.c.

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