mmg2d
tools_2d.c File Reference

Various tools. More...

#include "mmg2d.h"
Include dependency graph for tools_2d.c:

Functions

int MMG2D_indElt (MMG5_pMesh mesh, int kel)
 
int MMG2D_indPt (MMG5_pMesh mesh, int kp)
 

Detailed Description

Various tools.

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

Function Documentation

◆ MMG2D_indElt()

int MMG2D_indElt ( MMG5_pMesh  mesh,
int  kel 
)
Parameters
meshpointer toward the mesh structure.
kelindex of the element in the unpacked mesh
Returns
0 if fail, index of the element in packed numerotation otherwise.

find the element index in packed numerotation

◆ MMG2D_indPt()

int MMG2D_indPt ( MMG5_pMesh  mesh,
int  kp 
)
Parameters
meshpointer toward the mesh structure.
kpindex of the point in the unpacked mesh
Returns
0 if fail, index of the point in packed numerotation otherwise.

find the point index in packed numerotation