mmg3d
libmmgtypes.h File Reference
#include <stdint.h>
#include <stdarg.h>
Include dependency graph for libmmgtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MMG5_Par
 
struct  MMG5_Point
 Structure to store points of a MMG mesh. More...
 
struct  MMG5_xPoint
 Structure to store surface points of a MMG mesh. More...
 
struct  MMG5_Edge
 Structure to store edges of a MMG mesh. More...
 
struct  MMG5_Tria
 
struct  MMG5_Quad
 
struct  MMG5_Tetra
 
struct  MMG5_xTetra
 Structure to store the surface tetrahedra of a MMG mesh. More...
 
struct  MMG5_Prism
 
struct  MMG5_xPrism
 Structure to store the surface prism of a MMG mesh. More...
 
struct  MMG5_Mat
 To store user-defined references in the mesh (useful in LS mode) More...
 
struct  MMG5_Info
 Store input parameters of the run. More...
 
struct  MMG5_hgeom
 To store geometric edges. More...
 
struct  MMG5_HGeom
 
struct  MMG5_Mesh
 MMG mesh structure. More...
 
struct  MMG5_Sol
 

Macros

#define MMG5_SUCCESS   0
 
#define MMG5_LOWFAILURE   1
 
#define MMG5_STRONGFAILURE   2
 
#define MG_ISO   10
 
#define MMG5_ARG_start   1
 
#define MMG5_ARG_ppMesh   2
 
#define MMG5_ARG_ppLs   3
 
#define MMG5_ARG_ppMet   4
 
#define MMG5_ARG_ppDisp   5
 
#define MMG5_ARG_ppSols   6
 
#define MMG5_ARG_pMesh   7
 
#define MMG5_ARG_pMet   8
 
#define MMG5_ARG_pDisp   9
 
#define MMG5_ARG_end   10
 

Typedefs

typedef MMG5_ParMMG5_pPar
 
typedef MMG5_PointMMG5_pPoint
 
typedef MMG5_xPointMMG5_pxPoint
 
typedef MMG5_EdgeMMG5_pEdge
 
typedef MMG5_TriaMMG5_pTria
 
typedef MMG5_QuadMMG5_pQuad
 
typedef MMG5_TetraMMG5_pTetra
 
typedef MMG5_xTetraMMG5_pxTetra
 
typedef MMG5_PrismMMG5_pPrism
 
typedef MMG5_xPrismMMG5_pxPrism
 
typedef MMG5_MatMMG5_pMat
 
typedef MMG5_MeshMMG5_pMesh
 
typedef MMG5_SolMMG5_pSol
 

Enumerations

enum  MMG5_type { MMG5_Notype, MMG5_Scalar, MMG5_Vector, MMG5_Tensor }
 Type of solutions. More...
 
enum  MMG5_entities { MMG5_Noentity, MMG5_Vertex, MMG5_Triangle, MMG5_Tetrahedron }
 Type of mesh entities. More...
 

Macro Definition Documentation

◆ MG_ISO

#define MG_ISO   10

Implicite domain ref in iso mode

◆ MMG5_ARG_end

#define MMG5_ARG_end   10

To end a list of variadic argument (mandatory last argument for all our variadic functions)

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_pDisp

#define MMG5_ARG_pDisp   9

MMG5_pSol structure storing a displacement field

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_pMesh

#define MMG5_ARG_pMesh   7

MMG5_pMesh structure

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_pMet

#define MMG5_ARG_pMet   8

MMG5_pSol structure storing a metric field

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_ppDisp

#define MMG5_ARG_ppDisp   5

Pointer toward a MMG5_pSol structure storing a displacement (for structure allocations purposes)

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_ppLs

#define MMG5_ARG_ppLs   3

Pointer toward a MMG5_pSol structure storing a level-set (for structure allocations purposes)

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_ppMesh

#define MMG5_ARG_ppMesh   2

Pointer toward a MMG5_pMesh structure (for structure allocations purposes)

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_ppMet

#define MMG5_ARG_ppMet   4

Pointer toward a MMG5_pSol structure storing a metric (for structure allocations purposes)

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_ppSols

#define MMG5_ARG_ppSols   6

Pointer toward an array of MMG5_Sol structures storing a list of solutions allocations purposes)

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_ARG_start

#define MMG5_ARG_start   1

To begin a list of variadic arguments (mandatory first arg for all our variadic functions)

Remarks
we cannot use an enum because used in variadic functions).

◆ MMG5_LOWFAILURE

#define MMG5_LOWFAILURE   1

Return value if the remesh process failed but we can save a conform mesh.

◆ MMG5_STRONGFAILURE

#define MMG5_STRONGFAILURE   2

Return value if the remesh process failed and the mesh is non-conform.

◆ MMG5_SUCCESS

#define MMG5_SUCCESS   0

Types

Return value for success.

Typedef Documentation

◆ MMG5_pEdge

◆ MMG5_pMat

typedef MMG5_Mat* MMG5_pMat

◆ MMG5_pMesh

◆ MMG5_pPar

typedef MMG5_Par* MMG5_pPar

◆ MMG5_pPoint

◆ MMG5_pPrism

◆ MMG5_pQuad

◆ MMG5_pSol

typedef MMG5_Sol* MMG5_pSol

◆ MMG5_pTetra

◆ MMG5_pTria

◆ MMG5_pxPoint

◆ MMG5_pxPrism

◆ MMG5_pxTetra

Enumeration Type Documentation

◆ MMG5_entities

Type of mesh entities.

Type of mesh entities. !

! * ! *

Enumerator
MMG5_Noentity 

Undefined type (unusable)

MMG5_Vertex 

Vertex entity

MMG5_Triangle 

Triangle entity

MMG5_Tetrahedron 

Tetra entity

◆ MMG5_type

enum MMG5_type

Type of solutions.

Type of solutions. !

! * ! *

Enumerator
MMG5_Notype 

Undefined type (unusable)

MMG5_Scalar 

Scalar solution

MMG5_Vector 

Vectorial solution

MMG5_Tensor 

Tensorial solution