mmgs
swapar_s.c File Reference

Functions for swapping process. More...

#include "mmgs.h"
Include dependency graph for swapar_s.c:

Functions

int chkswp (MMG5_pMesh mesh, MMG5_pSol met, int k, int i, char typchk)
 
int swapar (MMG5_pMesh mesh, int k, int i)
 
int litswp (MMG5_pMesh mesh, int k, char i, double kali)
 
int swpedg (MMG5_pMesh mesh, MMG5_pSol met, int *list, int ilist, char typchk)
 

Detailed Description

Functions for swapping process.

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

Function Documentation

◆ chkswp()

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

◆ litswp()

int litswp ( MMG5_pMesh  mesh,
int  k,
char  i,
double  kali 
)
Here is the call graph for this function:

◆ swapar()

int swapar ( MMG5_pMesh  mesh,
int  k,
int  i 
)
Parameters
meshpoiner toward the mesh structure.
kelt index.
iindex of the elt edge to swap.
Returns
1
Warning
the quality of the resulting triangles is not checked here... It must be checked outside to prevent the creation of empty elts.
Here is the caller graph for this function:

◆ swpedg()

int swpedg ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int *  list,
int  ilist,
char  typchk 
)

attempt to swap any edge below quality value list goes from 0 to ilist-1.

Warning
not used
Here is the call graph for this function: