Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
#include <scotch.h>
Go to the source code of this file.
Macros | |
#define | HASHPRIME 37 |
header file for the librnbg.c librnbg_s.c librnbg_3d.c files | |
#define | STRINGIFY(x) #x |
#define | TOSTRING(x) STRINGIFY(x) |
#define | SCOTCH_5 |
#define | SCOTCH_6 !strcmp(TOSTRING(SCOTCH_VERSION),"6") |
#define | SCOTCH_7 !strcmp(TOSTRING(SCOTCH_VERSION),"7") |
#define | CHECK_SCOTCH(t, m, e) if(0!=t){perror(m);return e;} |
Functions | |
int | _SCOTCHintSort2asc1 (SCOTCH_Num *sortPartTb, MMG5_int vertNbr) |
int | MMG5_kPartBoxCompute (SCOTCH_Graph *, MMG5_int, MMG5_int, SCOTCH_Num *, MMG5_pMesh) |
void | MMG5_swapNod (MMG5_pMesh, MMG5_pPoint, double *, MMG5_pSol, MMG5_int *, MMG5_int, MMG5_int, int) |
Definition at line 50 of file librnbg_private.h.
#define HASHPRIME 37 |
header file for the librnbg.c librnbg_s.c librnbg_3d.c files
Definition at line 38 of file librnbg_private.h.
#define SCOTCH_5 |
Definition at line 43 of file librnbg_private.h.
#define SCOTCH_6 !strcmp(TOSTRING(SCOTCH_VERSION),"6") |
Definition at line 46 of file librnbg_private.h.
#define SCOTCH_7 !strcmp(TOSTRING(SCOTCH_VERSION),"7") |
Definition at line 48 of file librnbg_private.h.
#define STRINGIFY | ( | x | ) | #x |
Definition at line 40 of file librnbg_private.h.
#define TOSTRING | ( | x | ) | STRINGIFY(x) |
Definition at line 41 of file librnbg_private.h.
int _SCOTCHintSort2asc1 | ( | SCOTCH_Num * | sortPartTb, |
MMG5_int | vertNbr | ||
) |
int MMG5_kPartBoxCompute | ( | SCOTCH_Graph * | graf, |
MMG5_int | vertNbr, | ||
MMG5_int | boxVertNbr, | ||
SCOTCH_Num * | permVrtTab, | ||
MMG5_pMesh | mesh | ||
) |
graf | pointer to the input graph structure. |
vertNbr | the number of vertices. |
boxVertNbr | the number of vertices of each box. |
permVrtTab | the new numbering. |
mesh | pointer to the mesh structure. |
Internal function that computes a new numbering of graph vertices using a k-partitioning and assuming that baseval of the graph is 1.
Definition at line 53 of file librnbg.c.
void MMG5_swapNod | ( | MMG5_pMesh | mesh, |
MMG5_pPoint | points, | ||
double * | sols, | ||
MMG5_pSol | field, | ||
MMG5_int * | perm, | ||
MMG5_int | ind1, | ||
MMG5_int | ind2, | ||
int | solsiz | ||
) |
mesh | pointer to the mesh |
points | pointer to a table containing the point structures. |
sols | pointer to a table containing the solution structures. |
fields | pointer to an array of solution fields to permute. |
*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. |
solsize | size of the solution. |
Swap two nodes in the table of vertices.
Definition at line 158 of file librnbg.c.