|
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Compute local domain limites of a MPI rank. More...
Go to the source code of this file.
Functions | |
| int | MPILocalDomainLimits (int ndims, int p, void *m, int *dim_global, int *is, int *ie) |
Compute local domain limites of a MPI rank.
Definition in file MPILocalDomainLimits.c.
| int MPILocalDomainLimits | ( | int | ndims, |
| int | p, | ||
| void * | m, | ||
| int * | dim_global, | ||
| int * | is, | ||
| int * | ie | ||
| ) |
Computes the local domain limites: Given a MPI rank p, this function will compute the starting and ending indices of the local domain on this rank. These indices are global.
| ndims | Number of spatial dimensions |
| p | MPI rank |
| m | MPI object of type MPIVariables |
| dim_global | Integer array with elements as global size in each spatial dimension |
| is | Integer array whose elements will contain the starting index of the local domain on rank p |
| ie | Integer array whose elements will contain the ending index of the local domain on rank p |
Definition at line 18 of file MPILocalDomainLimits.c.