Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions for scotch renumerotation. More...
Go to the source code of this file.
Functions | |
static void | MMG5_swapTet (MMG5_pTetra tetras, MMG5_int *perm, MMG5_int ind1, MMG5_int ind2) |
int | MMG5_mmg3dRenumbering (int boxVertNbr, MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol fields, MMG5_int *permNodGlob) |
Functions for scotch renumerotation.
Definition in file librnbg_3d.c.
int MMG5_mmg3dRenumbering | ( | int | boxVertNbr, |
MMG5_pMesh | mesh, | ||
MMG5_pSol | sol, | ||
MMG5_pSol | fields, | ||
MMG5_int * | permNodGlob | ||
) |
boxVertNbr | number of vertices by box. |
mesh | pointer to the mesh structure. |
sol | pointer to the solution structure |
fields | pointer to an array of solution fields |
permNodGlob | array to store the global permutation of nodes (non mandatory) |
Modifies the node indicies to prevent from cache missing.
Definition at line 114 of file librnbg_3d.c.
|
inlinestatic |
tetras | pointer to a table containing the tetra structures. |
*perm | pointer to the permutation table (to perform in place permutations). |
ind1 | index of the first tetra to swap. |
ind2 | index of the second tetra to swap. |
Swap two tetras in the table of tetrahedras.
Definition at line 52 of file librnbg_3d.c.