mpi.cart.rank translates a Cartesian topology coordinate to its rank.
Usage
mpi.cart.rank(comm=3, coords)
Value
mpi.cart.rank returns the rank of the specified process.
Arguments
comm
Communicator with Cartesian structure
coords
Specifies the Cartesian coordinates of a process
Author
Alek Hunchak and Hao Yu
Details
For a process group with a Cartesian topology, this function translates the logical
process coordinates to process ranks as they are used by the point-to-point routines.
It is the inverse map of mpi.cart.coords.