ALL 0.9.3
A Loadbalacing Library
|
Functions | |
template<typename T, typename W> | |
T | borderShift1d (const int remote_rank, const int local_coord, const int global_dim, const W local_work, const W remote_work, const T local_size, const T remote_size, const T gamma, const T minSize) |
T ALL::Functions::borderShift1d | ( | const int | remote_rank, |
const int | local_coord, | ||
const int | global_dim, | ||
const W | local_work, | ||
const W | remote_work, | ||
const T | local_size, | ||
const T | remote_size, | ||
const T | gamma, | ||
const T | minSize ) |
function to compute the one-dimensional shift of the border between the local process and the process indicated by neighbor_rank
T | data type for vertices and related data |
W | data type for work and related data |
[in] | remote_rank | the MPI rank of the neighbors the border is shared with |
[in] | local_coord | the cartesian coordinate of the local domain in the process grid in the direction of the border shift |
[in] | global_dim | the dimension of the process grid in the direction of the border shift |
[in] | local_work | the work on the local process |
[in] | remote_work | the work on the neighboring process |
[in] | local_size | the size of the local domain in the dimension of the border shift |
[in] | remote_size | the size of the neighbor domain in the dimension of the border shift |
[in] | gamma | the correction value for the shift, needed to regulate the width of the shift, e.g. to avoid borders shifts where next-neighbor borders are crossed by one another |
[in] | minSize | optional minimum size of the domain in the dimension of the border shift |
Definition at line 34 of file ALL_Functions.hpp.