| [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 |