UCFD_SPARSE  v1.0
Documentation
Loading...
Searching...
No Matches
pbutils.h
Go to the documentation of this file.
1#ifndef PBUTILS_H
2#define PBUTILS_H
3
4void make_nei_ele(const int m, const int n, const int l, int **nei_ele);
5
6int searcharr(int val, int *arr, int size);
7
8void make_reordering(const int nele, const int nface, int **nei_ele, int *mapping, int *unmapping);
9
10void make_coloring(const int m, const int n, const int l, \
11 int *icolor, int *lcolor);
12
13
14#endif
15
16
17
void make_coloring(const int m, const int n, const int l, int *icolor, int *lcolor)
Coloring algorithm for unstructured grid.
Definition: pbutils.c:153
void make_nei_ele(const int m, const int n, const int l, int **nei_ele)
Computes neighbor cell elements array.
Definition: pbutils.c:36
int searcharr(int val, int *arr, int size)
Search element in the given array. If element exists, return 1.
Definition: pbutils.c:78
void make_reordering(const int nele, const int nface, int **nei_ele, int *mapping, int *unmapping)
Reverse Cuthill-McKee algorithm using neighbor elements.
Definition: pbutils.c:99