#include <fft_dsp.h>
|
int | nx = 0 |
| Forward FFT in 3D.
|
|
int | ny = 0 |
|
int | nz = 0 |
|
◆ FFT_DSP()
template<typename FPTYPE >
◆ ~FFT_DSP()
template<typename FPTYPE >
◆ __attribute__()
template<typename FPTYPE >
Initialize the fft parameters.
- Parameters
-
nx_in | number of grid points in x direction |
ny_in | number of grid points in y direction |
nz_in | number of grid points in z direction |
Reimplemented from ModulePW::FFT_BASE< FPTYPE >.
◆ cleanFFT() [1/3]
Clean the fft plan as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to clean the fft plan.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ cleanFFT() [2/3]
Clean the fft plan as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to clean the fft plan.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ cleanFFT() [3/3]
template<typename FPTYPE >
Clean the fft plan as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to clean the fft plan.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ clear() [1/3]
Clear the fft data as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to clear the fft data.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ clear() [2/3]
Clear the fft data as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to clear the fft data.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ clear() [3/3]
template<typename FPTYPE >
Clear the fft data as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to clear the fft data.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ fft3D_backward()
void ModulePW::FFT_DSP< double >::fft3D_backward |
( |
std::complex< double > * |
in, |
|
|
std::complex< double > * |
out |
|
) |
| const |
◆ fft3D_forward()
void ModulePW::FFT_DSP< double >::fft3D_forward |
( |
std::complex< double > * |
in, |
|
|
std::complex< double > * |
out |
|
) |
| const |
◆ get_auxr_3d_data()
◆ initfft()
◆ resource_handler() [1/3]
Allocate and destory the resoure in FFT running time, Now it only used in the DSP mode.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to allocate and destory the resoure in FFT running time.
Reimplemented from ModulePW::FFT_BASE< FPTYPE >.
◆ resource_handler() [2/3]
Allocate and destory the resoure in FFT running time, Now it only used in the DSP mode.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to allocate and destory the resoure in FFT running time.
Reimplemented from ModulePW::FFT_BASE< FPTYPE >.
◆ resource_handler() [3/3]
template<typename FPTYPE >
Control the allocation or deallocation of hthread resource.
- Parameters
-
flag | 0: deallocate, 1: allocate |
Reimplemented from ModulePW::FFT_BASE< FPTYPE >.
◆ setupFFT() [1/3]
Setup the fft plan and data as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to setup the fft plan and data.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ setupFFT() [2/3]
Setup the fft plan and data as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to setup the fft plan and data.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ setupFFT() [3/3]
template<typename FPTYPE >
Setup the fft plan and data as pure virtual function.
The function is set as pure virtual function.In order to override the function in the derived class.In the derived class, the function is used to setup the fft plan and data.
Implements ModulePW::FFT_BASE< FPTYPE >.
◆ args_back
template<typename FPTYPE >
◆ args_for
template<typename FPTYPE >
◆ b_id
template<typename FPTYPE >
◆ c_auxr_3d
template<typename FPTYPE >
◆ cluster_id
template<typename FPTYPE >
◆ forward_in
template<typename FPTYPE >
◆ nxyz
template<typename FPTYPE >
Get the real space data.
- Returns
- real space data
Forward FFT in 3D
- Parameters
-
in | input data, complex FPTYPE |
out | output data, complex FPTYPE |
This function performs the forward FFT in 3D.
Backward FFT in 3D
- Parameters
-
in | input data, complex FPTYPE |
out | output data, complex FPTYPE |
This function performs the backward FFT in 3D.
◆ ny_in
template<typename FPTYPE >
◆ override
template<typename FPTYPE >
◆ ptr_plan_backward
template<typename FPTYPE >
◆ ptr_plan_forward
template<typename FPTYPE >
◆ thread_id_for
template<typename FPTYPE >
◆ z_auxr_3d
template<typename FPTYPE >
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_basis/module_pw/module_fft/fft_dsp.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_basis/module_pw/module_fft/fft_dsp.cpp