mmgs
colver_s.c File Reference

Functions for vertices collapsing. More...

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

Functions

int chkcol (MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int *list, char typchk)
 
int colver (MMG5_pMesh mesh, int *list, int ilist)
 
int colver3 (MMG5_pMesh mesh, int *list)
 
int colver2 (MMG5_pMesh mesh, int *list)
 
int litcol (MMG5_pMesh mesh, int k, char i, double kali)
 

Detailed Description

Functions for vertices collapsing.

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

◆ chkcol()

int chkcol ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  k,
char  i,
int *  list,
char  typchk 
)
Parameters
meshpointer toward the mesh
metpointer toward the metric
kindex of the element in wich we collapse
iindex of the edge to collapse
listpointer toward the ball of point
typchktype of check to perform
Returns
0 if we can't move of if we fail, 1 if success

check if geometry preserved by collapsing edge i

Here is the call graph for this function:

◆ colver()

int colver ( MMG5_pMesh  mesh,
int *  list,
int  ilist 
)
Here is the call graph for this function:

◆ colver2()

int colver2 ( MMG5_pMesh  mesh,
int *  list 
)
Here is the call graph for this function:

◆ colver3()

int colver3 ( MMG5_pMesh  mesh,
int *  list 
)
Parameters
meshpointer toward the mesh structure.
listpointer toward the ball of the point to collapse.
Returns
1 if success, 0 if fail.

Collapse edge $list[0]%3$ in tet $list[0]/3$ ( $ ip->i1$ ) for a ball of the collapsed point of size 3: the collapsed point is removed.

Here is the call graph for this function:

◆ litcol()

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