|
mmg2d
|
Functions for hash tables management and tetrahedra packing. More...
#include "mmgcommon.h"
Functions | |
| int | MMG5_mmgHashTria (MMG5_pMesh mesh, int *adjt, MMG5_Hash *hash, int chkISO) |
| int | MMG5_hashEdge (MMG5_pMesh mesh, MMG5_Hash *hash, int a, int b, int k) |
| int | MMG5_hashUpdate (MMG5_Hash *hash, int a, int b, int k) |
| int | MMG5_hashEdgeTag (MMG5_pMesh mesh, MMG5_Hash *hash, int a, int b, int16_t tag) |
| int | MMG5_hashGet (MMG5_Hash *hash, int a, int b) |
| int | MMG5_hashNew (MMG5_pMesh mesh, MMG5_Hash *hash, int hsiz, int hmax) |
Functions for hash tables management and tetrahedra packing.
| int MMG5_hashEdge | ( | MMG5_pMesh | mesh, |
| MMG5_Hash * | hash, | ||
| int | a, | ||
| int | b, | ||
| int | k | ||
| ) |
| mesh | pointer toward the mesh structure. |
| hash | pointer toward the hash table of edges. |
| a | index of the first extremity of the edge. |
| b | index of the second extremity of the edge. |
| k | index of point along the edge. |
Add edge
to the hash table.


| int MMG5_hashEdgeTag | ( | MMG5_pMesh | mesh, |
| MMG5_Hash * | hash, | ||
| int | a, | ||
| int | b, | ||
| int16_t | tag | ||
| ) |
| mesh | pointer toward the mesh structure. |
| hash | pointer toward the hash table of edges. |
| a | index of the first extremity of the edge. |
| b | index of the second extremity of the edge. |
| tag | edge tag |
Add edge
to the hash table if it doesn't exist and store the edge tag. If the edge exist, add the new tag to the already stored tags.

| int MMG5_hashGet | ( | MMG5_Hash * | hash, |
| int | a, | ||
| int | b | ||
| ) |
| hash | pointer toward the hash table of edges. |
| a | index of the first extremity of the edge. |
| b | index of the second extremity of the edge. |
.Find the index of point stored along
.


| int MMG5_hashNew | ( | MMG5_pMesh | mesh, |
| MMG5_Hash * | hash, | ||
| int | hsiz, | ||
| int | hmax | ||
| ) |
| mesh | pointer toward the mesh structure. |
| hash | pointer toward the hash table of edges. |
| hsiz | initial size of hash table. |
| hmax | maximal size of hash table. |
Hash edges or faces.

| int MMG5_hashUpdate | ( | MMG5_Hash * | hash, |
| int | a, | ||
| int | b, | ||
| int | k | ||
| ) |
| mesh | pointer toward the mesh structure. |
| hash | pointer toward the hash table of edges. |
| a | index of the first extremity of the edge. |
| b | index of the second extremity of the edge. |
| k | new index of point along the edge. |
Update the index of the point stored along the edge
| int MMG5_mmgHashTria | ( | MMG5_pMesh | mesh, |
| int * | adjt, | ||
| MMG5_Hash * | hash, | ||
| int | chkISO | ||
| ) |
| mesh | pointer toward the mesh structure. |
| adjt | pointer toward the adjacency table of the surfacic mesh. |
| hash | pointer toward the edge hash table. |
| chkISO | flag to say if we check ISO references (so if we come from mmg3d). |
Create surface adjacency
