Octopus
fftw_oct_m Module Reference

Functions/Subroutines

subroutine, public fftw_prepare_plan (plan, dim, n, howmany, batch_axis, is_real, sign, flags, din_, cin_, cout_)
 
subroutine, public fftw_get_dims (rs_n, is_real, fs_n)
 
subroutine, public fftw_alloc_memory (rs_dims, is_real, fs_dims, drs_data, zrs_data, fs_data)
 Allocate the FFTW work buffers. The rank-4 dimension arrays (which already carry the batch axis at the right position — see fft_pack) are used verbatim, so this routine is oblivious to the batch layout. More...
 
subroutine, public fftw_free_memory (is_real, drs_data, zrs_data, fs_data)
 

Function/Subroutine Documentation

◆ fftw_prepare_plan()

subroutine, public fftw_oct_m::fftw_prepare_plan ( type(c_ptr), intent(inout)  plan,
integer, intent(in)  dim,
integer, dimension(:), intent(in)  n,
integer(c_int), intent(in)  howmany,
integer, intent(in)  batch_axis,
logical, intent(in)  is_real,
integer, intent(in)  sign,
integer, intent(in)  flags,
real(real64), dimension(:,:,:,:), intent(in), optional, target  din_,
complex(real64), dimension(:,:,:,:), intent(in), optional, target  cin_,
complex(real64), dimension(:,:,:,:), intent(in), optional, target  cout_ 
)
Parameters
[in]batch_axis1 (batch-first) or 4 (batch-last); required

Definition at line 182 of file fftw.F90.

◆ fftw_get_dims()

subroutine, public fftw_oct_m::fftw_get_dims ( integer, dimension(:), intent(in)  rs_n,
logical, intent(in)  is_real,
integer, dimension(:), intent(out)  fs_n 
)

Definition at line 335 of file fftw.F90.

◆ fftw_alloc_memory()

subroutine, public fftw_oct_m::fftw_alloc_memory ( integer, dimension(4), intent(in)  rs_dims,
logical, intent(in)  is_real,
integer, dimension(4), intent(in)  fs_dims,
real(real64), dimension(:,:,:,:), intent(inout), pointer  drs_data,
complex(real64), dimension(:,:,:,:), intent(inout), pointer  zrs_data,
complex(real64), dimension(:,:,:,:), intent(inout), pointer  fs_data 
)

Allocate the FFTW work buffers. The rank-4 dimension arrays (which already carry the batch axis at the right position — see fft_pack) are used verbatim, so this routine is oblivious to the batch layout.

Parameters
[in]rs_dimsreal-space dimensions including the batch axis
[in]fs_dimsFourier-space dimensions including the batch axis

Definition at line 352 of file fftw.F90.

◆ fftw_free_memory()

subroutine, public fftw_oct_m::fftw_free_memory ( logical, intent(in)  is_real,
real(real64), dimension(:,:,:,:), intent(inout), pointer  drs_data,
complex(real64), dimension(:,:,:,:), intent(inout), pointer  zrs_data,
complex(real64), dimension(:,:,:,:), intent(inout), pointer  fs_data 
)

Definition at line 379 of file fftw.F90.