Octopus
fftw_oct_m Module Reference

Functions/Subroutines

subroutine, public fftw_prepare_plan (plan, dim, n, howmany, 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 from the rank-4 (batch-last) dimension arrays (see fft_pack). 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,
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_ 
)

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 315 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 from the rank-4 (batch-last) dimension arrays (see fft_pack).

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

Definition at line 330 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 357 of file fftw.F90.