mmg3d
delaunay_3d.c File Reference

Functions for mesh modifications in Delaunay mode. More...

Include dependency graph for delaunay_3d.c:

Macros

#define MMG3D_EPSRAD   1.00005
 
#define MMG3D_EPSCON   1e-5
 
#define MMG3D_LONMAX   4096
 
#define MMG3D_KTA   7
 
#define MMG3D_KTB   11
 
#define MMG3D_KTC   13
 

Functions

int MMG5_hashEdgeDelone (MMG5_pMesh mesh, MMG5_Hash *hash, int iel, int i, int *v)
 
int MMG5_delone (MMG5_pMesh mesh, MMG5_pSol sol, int ip, int *list, int ilist)
 
static int MMG5_correction_ani (MMG5_pMesh mesh, MMG5_pSol met, int ip, int *list, int ilist, int nedep, double volmin)
 
static int MMG5_correction_iso (MMG5_pMesh mesh, int ip, int *list, int ilist, int nedep, double volmin)
 
int MMG5_cavity_ani (MMG5_pMesh mesh, MMG5_pSol met, int iel, int ip, int *list, int lon, double volmin)
 
int MMG5_cavity_iso (MMG5_pMesh mesh, MMG5_pSol sol, int iel, int ip, int *list, int lon, double volmin)
 

Detailed Description

Functions for mesh modifications in Delaunay mode.

Author
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Version
5
Remarks
Delaunay mode only (PATTERN flag set to OFF).
Todo:
doxygen documentation.

Macro Definition Documentation

◆ MMG3D_EPSCON

#define MMG3D_EPSCON   1e-5

◆ MMG3D_EPSRAD

#define MMG3D_EPSRAD   1.00005

◆ MMG3D_KTA

#define MMG3D_KTA   7

◆ MMG3D_KTB

#define MMG3D_KTB   11

◆ MMG3D_KTC

#define MMG3D_KTC   13

◆ MMG3D_LONMAX

#define MMG3D_LONMAX   4096

Function Documentation

◆ MMG5_cavity_ani()

int MMG5_cavity_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  iel,
int  ip,
int *  list,
int  lon,
double  volmin 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
ieltetra index.
ippoint local index in iel.
listpointer toward the list of tetra in the shell of edge where ip will be inserted.
lonnumber of tetra in the list.
Returns
ilist number of tetra inside the cavity or -ilist if one of the tet of the cavity is required.

Mark elements in cavity and update the list of tetra in the cavity.

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

◆ MMG5_cavity_iso()

int MMG5_cavity_iso ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
int  iel,
int  ip,
int *  list,
int  lon,
double  volmin 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the sol structure.
ieltetra index.
ippoint local index in iel.
listpointer toward the list of tetra in the shell of edge where ip will be inserted.
lonnumber of tetra in the list.
Returns
ilist number of tetra inside the cavity or -ilist if one of the tet of the cavity is required.

Mark elements in cavity and update the list of tetra in the cavity.

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

◆ MMG5_correction_ani()

static int MMG5_correction_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ip,
int *  list,
int  ilist,
int  nedep,
double  volmin 
)
static
Parameters
meshpointer toward the mesh structure
metpointer toward the met structure
ipindex of the point to insert
listpoiner toward the cavity of the point
ilistnumber of elts in the cavity
nedep???
volminminimal authorized volume
Returns
0 if fail (unused point), the size of the corrected cavity otherwise

Cavity correction for quality (aniso).

Here is the caller graph for this function:

◆ MMG5_correction_iso()

static int MMG5_correction_iso ( MMG5_pMesh  mesh,
int  ip,
int *  list,
int  ilist,
int  nedep,
double  volmin 
)
static
Parameters
meshpointer toward the mesh structure
metpointer toward the met structure
ipindex of the point to insert
listpoiner toward the cavity of the point
ilistnumber of elts in the cavity
nedep???
volminminimal authorized volume
Returns
0 if fail (unused point), the size of the corrected cavity otherwise

Cavity correction for quality (iso).

Here is the caller graph for this function:

◆ MMG5_delone()

int MMG5_delone ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
int  ip,
int *  list,
int  ilist 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
ipindex of the point to insert.
listpointer toward the list of the tetra in the cavity (computed by MMG5_cavity).
ilistnumber of tetra inside the cavity.
Returns
1 if sucess, 0 or -1 if fail.

Insertion of the vertex ip. The cavity of ip become its ball.

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

◆ MMG5_hashEdgeDelone()

int MMG5_hashEdgeDelone ( MMG5_pMesh  mesh,
MMG5_Hash hash,
int  iel,
int  i,
int *  v 
)
Here is the caller graph for this function: