34 for (i=0; i<ndims; i++) {
35 int imax_local, isize, root = 0;
38 if (is) is[i] = ip[i]*imax_local;
39 if (ie) ie[i] = ip[i]*imax_local + isize;
MPI related function definitions.
Some basic definitions and macros.
int MPIPartition1D(int, int, int)
Structure of MPI-related variables.
int MPIRanknD(int, int, int *, int *)
int MPILocalDomainLimits(int ndims, int p, void *m, int *dim_global, int *is, int *ie)