Packs the real view of the Y-slab (nx, ny_l, nz) into the MPI_Alltoall send buffer, selecting for each destination rank s the Z range [snz_l+1, (s+1)nz_l] it owns in the Z-slab layout.
| Type | Intent | Optional | 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 |