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

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

#include "inlined_functions_3d_private.h"
Include dependency graph for delaunay_3d.c:

Go to the source code of this file.

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, MMG5_int iel, int i, MMG5_int *v)
 
int MMG5_delone (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int ip, int64_t *list, int ilist)
 
static int MMG5_correction_ani (MMG5_pMesh mesh, MMG5_pSol met, int ip, int64_t *list, int ilist, int nedep, double volmin)
 
static int MMG5_correction_iso (MMG5_pMesh mesh, int ip, int64_t *list, int ilist, int nedep, double volmin)
 
int MMG5_cavity_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int iel, int ip, int64_t *list, int lon, double volmin)
 
int MMG5_cavity_iso (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int iel, int ip, int64_t *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 (MMG_PATTERN flag set to OFF).
Todo:
doxygen documentation.

Definition in file delaunay_3d.c.

Macro Definition Documentation

◆ MMG3D_EPSCON

#define MMG3D_EPSCON   1e-5

Definition at line 43 of file delaunay_3d.c.

◆ MMG3D_EPSRAD

#define MMG3D_EPSRAD   1.00005

Definition at line 39 of file delaunay_3d.c.

◆ MMG3D_KTA

#define MMG3D_KTA   7

Definition at line 50 of file delaunay_3d.c.

◆ MMG3D_KTB

#define MMG3D_KTB   11

Definition at line 51 of file delaunay_3d.c.

◆ MMG3D_KTC

#define MMG3D_KTC   13

Definition at line 52 of file delaunay_3d.c.

◆ MMG3D_LONMAX

#define MMG3D_LONMAX   4096

Definition at line 44 of file delaunay_3d.c.

Function Documentation

◆ MMG5_cavity_ani()

int MMG5_cavity_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  iel,
int  ip,
int64_t *  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.

Definition at line 581 of file delaunay_3d.c.

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,
MMG5_int  iel,
int  ip,
int64_t *  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.

Definition at line 741 of file delaunay_3d.c.

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,
int64_t *  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).

Definition at line 352 of file delaunay_3d.c.

Here is the caller graph for this function:

◆ MMG5_correction_iso()

static int MMG5_correction_iso ( MMG5_pMesh  mesh,
int  ip,
int64_t *  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).

Definition at line 479 of file delaunay_3d.c.

Here is the caller graph for this function:

◆ MMG5_delone()

int MMG5_delone ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
MMG5_int  ip,
int64_t *  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.

Definition at line 140 of file delaunay_3d.c.

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,
MMG5_int  iel,
int  i,
MMG5_int *  v 
)

Definition at line 55 of file delaunay_3d.c.

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