mmgs
|
Functions for hash tables management and triangle packing. More...
#include "mmgs.h"
Functions | |
static int | paktri (MMG5_pMesh mesh) |
int | MMGS_hashTria (MMG5_pMesh mesh) |
int | MMGS_assignEdge (MMG5_pMesh mesh) |
int | MMGS_bdryUpdate (MMG5_pMesh mesh) |
Functions for hash tables management and triangle packing.
int MMGS_assignEdge | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure. |
Copy the properties (ref and tag) of the declared edges to the triangles, where they are assigned to the individual corners of the triangle. First a hash is created for rapid lookup of the edges. Then in a loop over all edges of all triangles, the hash is probed for each edge, and if it exists its properties are copied. Thus, declared edges that do not occur in any triangle will be silently ignored.
int MMGS_bdryUpdate | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure. |
Copy the edge tags stored in triangles in the other triangles sharing the edge.
int MMGS_hashTria | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure. |
Create adjacency table.
|
static |
mesh | pointer toward the mesh structure. |
tria packing