mmg3d
swap_3d.c File Reference

Functions for swapping process over boundary. More...

Include dependency graph for swap_3d.c:

Functions

int _MMG5_chkswpbdy (MMG5_pMesh mesh, MMG5_pSol met, int *list, int ilist, int it1, int it2, char typchk)
 
int _MMG5_swpbdy (MMG5_pMesh mesh, MMG5_pSol met, int *list, int ret, int it1, _MMG3D_pOctree octree, char typchk)
 

Variables

char ddb
 

Detailed Description

Functions for swapping process over boundary.

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

Function Documentation

◆ _MMG5_chkswpbdy()

int _MMG5_chkswpbdy ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int *  list,
int  ilist,
int  it1,
int  it2,
char  typchk 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
listpointer toward the shell of the edge.
ilistpointer toward the size of the shell of the edge.
it1first element of the open shell.
it2last element of the open shell.
typchktype of checking permformed for edge length (hmin or LSHORT criterion).
Returns
-1 if fail, 0 if we can not swap the edge, 1 otherwise.

Check whether edge whose shell is provided should be swapped for geometric approximation purposes (the 2 surface triangles are also provided).

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

◆ _MMG5_swpbdy()

int _MMG5_swpbdy ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int *  list,
int  ret,
int  it1,
_MMG3D_pOctree  octree,
char  typchk 
)
Parameters
meshpointer toward the mesh structure
metpointer toward the solution structure
listpointer toward the shell of the edge
retdobble of the number of tetrahedra in the shell
it1boundary face carrying the beforehand tested terminal point for collapse
octreepointer toward the octree structure in Delaunay mode, NULL pointer in pattern mode.
typchktype of checking permformed for edge length (hmin or LSHORT criterion).
Returns
-1 if lack of memory, 0 if fail to swap, 1 otherwise

Swap boundary edge whose shell is provided.

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

Variable Documentation

◆ ddb

char ddb