mmg2d
hash_2d.c File Reference
#include "mmg2d.h"
Include dependency graph for hash_2d.c:

Macros

#define KTA   7
 
#define KTB   11
 

Functions

int MMG2D_hashNew (HashTable *hash, int hsize, int hmax)
 
int MMG2D_hashTria (MMG5_pMesh mesh)
 
int MMG2D_hashEdge (pHashTable edgeTable, int iel, int ia, int ib)
 
int MMG2D_assignEdge (MMG5_pMesh mesh)
 
int MMG2D_bdryEdge (MMG5_pMesh mesh)
 
int MMG2D_pack (MMG5_pMesh mesh, MMG5_pSol sol)
 

Macro Definition Documentation

◆ KTA

#define KTA   7

◆ KTB

#define KTB   11

Function Documentation

◆ MMG2D_assignEdge()

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

Transfer some input edge data to the corresponding triangles fields

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

◆ MMG2D_bdryEdge()

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

Create the edges in the mesh from the information stored in the triangles, or by identifying the different components of the mesh.

Remarks
Possible extension needed to take into account constrained edges
Here is the caller graph for this function:

◆ MMG2D_hashEdge()

int MMG2D_hashEdge ( pHashTable  edgeTable,
int  iel,
int  ia,
int  ib 
)
Here is the caller graph for this function:

◆ MMG2D_hashNew()

int MMG2D_hashNew ( HashTable hash,
int  hsize,
int  hmax 
)
Here is the caller graph for this function:

◆ MMG2D_hashTria()

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

Create adjacency relations between the triangles in the mesh

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

◆ MMG2D_pack()

int MMG2D_pack ( MMG5_pMesh  mesh,
MMG5_pSol  sol 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
Returns
0 if memory problem (uncomplete mesh), 1 otherwise.

Pack the mesh and metric and create explicitly all the mesh structures (edges).

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