recv_slab Subroutine

private subroutine recv_slab(buf, n1, n2, n3, src, tag, comm, which)

Allocate buf to (n1, n2, n3) and blocking-receive one frame slab into it from cart rank src (gather_boundary_ghosts_to_root's root side).

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(inout), allocatable :: buf(:,:,:)
integer, intent(in) :: n1
integer, intent(in) :: n2
integer, intent(in) :: n3
integer, intent(in) :: src
integer, intent(in) :: tag
integer, intent(in) :: comm
character(len=*), intent(in) :: which