SUBROUTINE bmf_splithalo(il,ir,jl,jr,gil,gir,gjl,gjr)
ARGUMENTS
- il,ir left and right halo size of a single
tile
- jl,jr upper and lower halo size of a single
tile
- gil,gir left and right halo size of the global domain
- gjl,gjr upper and lower size of the global domain
DESCRIPTION
Subroutine which define halos in a MC2-like way, i.e. it sets halos
for upcoming calls to bmf_splitwr* routines. We will then consider
that for a total of ni points, gil+gir points will be part of the halo
and will not be included in the calculation of the size of the domain.
Furthermore, the size of each local tile will be modified by global
halos (if the local tile is on the boundary of the global domain) and
local halos.
EXAMPLE
call bmf_splithalo(1,0,1,0,4,3,4,3)
SEE ALSO
BMF_*
Author: Luc Corbeil, September 4 2001
Return to RPN Librairies home page