pack_spectral_plane Subroutine

public subroutine pack_spectral_plane(plane, div_u, nx_spec, nz_spec)

Copies the first dim2 plane of the local spectral slab into a contiguous buffer so it can be handed to MPI.

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(out), device, dimension(:, :) :: plane
complex(kind=dp), intent(in), device, dimension(:, :, :) :: div_u
integer, intent(in), value :: nx_spec

Grid size in spectral space

integer, intent(in), value :: nz_spec

Grid size in spectral space


Called by

proc~~pack_spectral_plane~~CalledByGraph proc~pack_spectral_plane m_cuda_spectral::pack_spectral_plane proc~exchange_mirror_100 m_cuda_poisson_fft::cuda_poisson_fft_t%exchange_mirror_100 proc~exchange_mirror_100->proc~pack_spectral_plane proc~fft_postprocess_100_cuda m_cuda_poisson_fft::cuda_poisson_fft_t%fft_postprocess_100_cuda proc~fft_postprocess_100_cuda->proc~exchange_mirror_100