mpi.cart.coords translates a rank to its Cartesian topology coordinate.
Communicator with Cartesian structure
rank of a process within group
length of vector coord in the calling program
This function is the rank-to-coordinates translator. It is the inverse map of
mpi.cart.rank. maxdims is at least as big as ndims as
mpi.cart.coords returns an integer array containing the Cartesian
coordinates of specified process.
Alek Hunchak and Hao Yu
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.