Computes the bounds of the sub-block form the bounds of the parent block. Each sub-block gets about the same number of grid points in each direction.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | coord(3) |
Coordinates of MPI rank on MPI grid |
||
integer, | intent(in) | :: | Nb(3) |
Number of blocks in each direction |
||
integer, | intent(in) | :: | minlo(3) |
Global lo bounds |
||
integer, | intent(in) | :: | maxhi(3) |
Global hi bounds |
||
integer, | intent(out) | :: | sublo(3) |
lo bounds of sub-block |
||
integer, | intent(out) | :: | subhi(3) |
hi bounds of sub-block |