4void make_nei_ele(
const int m,
const int n,
const int l,
int **nei_ele);
8void make_reordering(
const int nele,
const int nface,
int **nei_ele,
int *mapping,
int *unmapping);
11 int *icolor,
int *lcolor);
void make_coloring(const int m, const int n, const int l, int *icolor, int *lcolor)
Coloring algorithm for unstructured grid.
void make_nei_ele(const int m, const int n, const int l, int **nei_ele)
Computes neighbor cell elements array.
int searcharr(int val, int *arr, int size)
Search element in the given array. If element exists, return 1.
void make_reordering(const int nele, const int nface, int **nei_ele, int *mapping, int *unmapping)
Reverse Cuthill-McKee algorithm using neighbor elements.