Go to the source code of this file.
|
| namespace | rheolef |
| | This file is part of Rheolef.
|
| |
|
| #define | IDX_DATATYPE MPI_INT |
| |
| #define | UNBALANCE_FRACTION 1.05 |
| |
| #define | DBG_INFO 2 /* Perform timing analysis */ |
| |
| #define | PMV3_OPTION_DBGLVL 1 |
| |
| #define | PMV3_OPTION_SEED 2 |
| |
| #define | MAXNCON 12 |
| |
| #define | MAXLINE 8192 |
| |
| #define | amax(a, b) ((a) >= (b) ? (a) : (b)) |
| |
| #define | icopy(n, a, b) memcpy((b), (a), sizeof(int)*(n)) |
| |
| #define | idxcopy(n, a, b) memcpy((b), (a), sizeof(my_idxtype)*(n)) |
| |
| #define | SHIFTCSR(i, n, a) |
| |
|
| void | geo_partition_scotch (my_idxtype *elmdist, my_idxtype *eptr, vector< my_idxtype > &eind, my_idxtype *elmwgt, int *ncon, int *ncommonnodes, int *nparts, float *tpwgts, float *ubvec, int *edgecut, my_idxtype *part, const mpi::communicator &comm) |
| |
| int | idxamin (int n, const std::vector< my_idxtype > &x) |
| |
| int | idxamax (int n, const std::vector< my_idxtype > &x) |
| |
◆ IDX_DATATYPE
| #define IDX_DATATYPE MPI_INT |
◆ UNBALANCE_FRACTION
| #define UNBALANCE_FRACTION 1.05 |
◆ DBG_INFO
| #define DBG_INFO 2 /* Perform timing analysis */ |
◆ PMV3_OPTION_DBGLVL
| #define PMV3_OPTION_DBGLVL 1 |
◆ PMV3_OPTION_SEED
| #define PMV3_OPTION_SEED 2 |
◆ MAXNCON
◆ MAXLINE
◆ amax
| #define amax |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) >= (b) ? (a) : (b)) |
◆ icopy
| #define icopy |
( |
|
n, |
|
|
|
a, |
|
|
|
b |
|
) |
| memcpy((b), (a), sizeof(int)*(n)) |
◆ idxcopy
| #define idxcopy |
( |
|
n, |
|
|
|
a, |
|
|
|
b |
|
) |
| memcpy((b), (a), sizeof(my_idxtype)*(n)) |
◆ SHIFTCSR
| #define SHIFTCSR |
( |
|
i, |
|
|
|
n, |
|
|
|
a |
|
) |
| |
Value: do { \
for (i=n; i>0; i--) a[i] = a[i-1]; \
a[0] = 0; \
} while(0)
Definition at line 127 of file geo_partition_scotch.h.