Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
#include "mmgcommon_private.h"
Go to the source code of this file.
Functions | |
static int | MMG5_Alloc_inode (MMG5_pMesh mesh, MMG5_iNode **node) |
Functions used in mmg applications. | |
int | MMG5_Add_inode (MMG5_pMesh mesh, MMG5_iNode **liLi, int val) |
void | MMG5_Free_ilinkedList (MMG5_pMesh mesh, MMG5_iNode *liLi) |
int | MMG5_countLocalParamAtTri (MMG5_pMesh mesh, MMG5_iNode **bdryRefs) |
int | MMG5_writeLocalParamAtTri (MMG5_pMesh mesh, MMG5_iNode *bdryRefs, FILE *out) |
int MMG5_Add_inode | ( | MMG5_pMesh | mesh, |
MMG5_iNode ** | liLi, | ||
int | val | ||
) |
mesh | pointer to the mesh structure (for count of used memory). |
liLi | pointer to the address of the root of the linked list. |
val | value to add to the linked list. |
Add a node with value val to a sorted linked list with unique entries.
Definition at line 68 of file apptools.c.
|
inlinestatic |
Functions used in mmg applications.
mesh | pointer to the mesh structure (for count of used memory). |
node | pointer to a MMG5_iNode (cell for linked list) |
Node allocation.
Definition at line 46 of file apptools.c.
int MMG5_countLocalParamAtTri | ( | MMG5_pMesh | mesh, |
MMG5_iNode ** | bdryRefs | ||
) |
mesh | pointer to the mesh structure. |
bdryRefs | pointer to the list of the boundary references. |
Count the local default values at triangles and fill the list of the boundary references.
Count the number of different boundary references and list it
Definition at line 142 of file apptools.c.
void MMG5_Free_ilinkedList | ( | MMG5_pMesh | mesh, |
MMG5_iNode * | liLi | ||
) |
mesh | pointer to the mesh structure (for count of used memory). |
liLi | pointer to the root of the linked list. |
Free the memory used by the linked list whose root is liLi.
Definition at line 120 of file apptools.c.
int MMG5_writeLocalParamAtTri | ( | MMG5_pMesh | mesh, |
MMG5_iNode * | bdryRefs, | ||
FILE * | out | ||
) |
mesh | pointer to the mesh structure. |
bdryRefs | pointer to the list of the boundary references. |
out | pointer to the file in which to write. |
Write the local default values at triangles in the parameter file.
Definition at line 186 of file apptools.c.