returns start and end index values for an array dimension of size idx distributed over num_procs
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | idx | |||
| integer, | intent(in) | :: | rank | |||
| integer, | intent(in) | :: | num_proc | |||
| integer, | intent(out) | :: | start_idx | |||
| integer, | intent(out) | :: | end_idx |