mmg3d
chkmsh_3d.c File Reference

Check the input mesh validity. More...

#include "mmg3d.h"
Include dependency graph for chkmsh_3d.c:

Macros

#define MMG5_EPSLOC   1.00005
 
#define IEDG(a, b)   (((a) > 0) && ((b) > 0)) ? ((a)+(b)) : (((a)+(b))-(1))
 

Functions

void MMG5_chkvol (MMG5_pMesh mesh)
 
int MMG5_chkmshsurf (MMG5_pMesh mesh)
 
int MMG5_mmg3dChkmsh (MMG5_pMesh mesh, int severe, int base)
 
int MMG5_chkptonbdy (MMG5_pMesh mesh, int np)
 
int MMG5_cntbdypt (MMG5_pMesh mesh, int nump)
 
int MMG5_chkfemtopo (MMG5_pMesh mesh)
 
int srcface (MMG5_pMesh mesh, int n0, int n1, int n2)
 

Variables

char ddb
 

Detailed Description

Check the input mesh validity.

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

Macro Definition Documentation

◆ IEDG

#define IEDG (   a,
 
)    (((a) > 0) && ((b) > 0)) ? ((a)+(b)) : (((a)+(b))-(1))

◆ MMG5_EPSLOC

#define MMG5_EPSLOC   1.00005

Function Documentation

◆ MMG5_chkfemtopo()

int MMG5_chkfemtopo ( MMG5_pMesh  mesh)
Parameters
meshpointer toward the mesh structure.
Returns
0 if fail, 1 otherwise.

Count the number of tetras that have several boundary faces, as well as the number of internal edges connecting points of the boundary.

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

◆ MMG5_chkmshsurf()

int MMG5_chkmshsurf ( MMG5_pMesh  mesh)
Returns
0 if fail, 1 otherwise
Warning
Not used.

◆ MMG5_chkptonbdy()

int MMG5_chkptonbdy ( MMG5_pMesh  mesh,
int  np 
)

Search boundary faces containing point np.

Returns
0 if fail, 1 otherwise
Warning
Not used.
Here is the call graph for this function:

◆ MMG5_chkvol()

void MMG5_chkvol ( MMG5_pMesh  mesh)
Warning
Not used.
Here is the call graph for this function:

◆ MMG5_cntbdypt()

int MMG5_cntbdypt ( MMG5_pMesh  mesh,
int  nump 
)

Count how many boundary faces share point nump.

Warning
Not used.
Here is the call graph for this function:

◆ MMG5_mmg3dChkmsh()

int MMG5_mmg3dChkmsh ( MMG5_pMesh  mesh,
int  severe,
int  base 
)
Parameters
meshpointer toward the mesh structure.
severelevel of performed check
baseunused argument.
Returns
0 if fail, 1 if success.

Check the mesh validity

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

◆ srcface()

int srcface ( MMG5_pMesh  mesh,
int  n0,
int  n1,
int  n2 
)

Search face n0,n1,n2 in mesh, and get the support tetras, with the corresponding refs.

Warning
Not used.
Here is the call graph for this function:

Variable Documentation

◆ ddb

char ddb