pack_110_yslab Subroutine

public subroutine pack_110_yslab(sendbuf, src, nx, ny_l, nz_l, nproc, fold_z)

Inverse of unpack_110_yslab: packs the Y-slab real view into the MPI_Alltoall send buffer, selecting for each destination rank s the Z range it originally owned in the physical Z-slab layout, and undoing the Z fold with fold_z.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out), device, dimension(:, :, :, :) :: sendbuf
real(kind=dp), intent(in), device, dimension(:, :, :) :: src
integer, intent(in), value :: nx
integer, intent(in), value :: ny_l
integer, intent(in), value :: nz_l
integer, intent(in), value :: nproc
logical, intent(in), value :: fold_z

Calls

proc~~pack_110_yslab~~CallsGraph proc~pack_110_yslab m_cuda_spectral::pack_110_yslab proc~fold_destination m_cuda_spectral::fold_destination proc~pack_110_yslab->proc~fold_destination

Called by

proc~~pack_110_yslab~~CalledByGraph proc~pack_110_yslab m_cuda_spectral::pack_110_yslab proc~redistribute_110_to_zslab m_cuda_poisson_fft::cuda_poisson_11x_t%redistribute_110_to_zslab proc~redistribute_110_to_zslab->proc~pack_110_yslab proc~fft_backward_110_cuda m_cuda_poisson_fft::cuda_poisson_11x_t%fft_backward_110_cuda proc~fft_backward_110_cuda->proc~redistribute_110_to_zslab