mmg3d
zaldy_3d.c File Reference

Memory management. More...

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

Functions

int _MMG3D_newPt (MMG5_pMesh mesh, double c[3], int16_t tag)
 
void _MMG3D_delPt (MMG5_pMesh mesh, int ip)
 
int _MMG3D_newElt (MMG5_pMesh mesh)
 
int _MMG3D_delElt (MMG5_pMesh mesh, int iel)
 
int _MMG3D_memOption (MMG5_pMesh mesh)
 
int _MMG3D_zaldy (MMG5_pMesh mesh)
 
void _MMG5_freeXTets (MMG5_pMesh mesh)
 
void _MMG5_freeXPrisms (MMG5_pMesh mesh)
 

Detailed Description

Memory management.

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

◆ _MMG3D_delElt()

int _MMG3D_delElt ( MMG5_pMesh  mesh,
int  iel 
)
Parameters
meshpointer toward the mesh
ielindex of the element to delete
Returns
1 if success, 0 if fail

Delete the element iel

Here is the caller graph for this function:

◆ _MMG3D_delPt()

void _MMG3D_delPt ( MMG5_pMesh  mesh,
int  ip 
)
Here is the caller graph for this function:

◆ _MMG3D_memOption()

int _MMG3D_memOption ( MMG5_pMesh  mesh)

memory repartition for the -m option

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

◆ _MMG3D_newElt()

int _MMG3D_newElt ( MMG5_pMesh  mesh)

get new elt address

Here is the caller graph for this function:

◆ _MMG3D_newPt()

int _MMG3D_newPt ( MMG5_pMesh  mesh,
double  c[3],
int16_t  tag 
)

get new point address

Here is the caller graph for this function:

◆ _MMG3D_zaldy()

int _MMG3D_zaldy ( MMG5_pMesh  mesh)
Parameters
meshpointer toward the mesh
Returns
1 if success, 0 if fail

allocate main structure

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

◆ _MMG5_freeXPrisms()

void _MMG5_freeXPrisms ( MMG5_pMesh  mesh)
Parameters
meshpointer toward the mesh structure.

Free xprism structure.

Here is the caller graph for this function:

◆ _MMG5_freeXTets()

void _MMG5_freeXTets ( MMG5_pMesh  mesh)
Parameters
meshpointer toward the mesh structure.

Free xtetra structure.

Here is the caller graph for this function: