ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ModuleBase::FFT_CPU< FPTYPE > Class Template Reference

#include <fft_cpu.h>

Inheritance diagram for ModuleBase::FFT_CPU< FPTYPE >:
Collaboration diagram for ModuleBase::FFT_CPU< FPTYPE >:

Public Member Functions

 FFT_CPU ()
 FFT_CPU (const int fft_mode_in)
 ~FFT_CPU ()
void initfft (int nx_in, int ny_in, int nz_in, int lixy_in, int rixy_in, int ns_in, int nplane_in, int nproc_in, bool gamma_only_in, bool xprime_in=true) override
 Initialize the fft parameters.
ABACUS_FFT_WEAK void setupFFT () override
 Setup the fft plan and data as pure virtual function.
ABACUS_FFT_WEAK void cleanFFT () override
 Clean the fft plan as pure virtual function.
ABACUS_FFT_WEAK void clear () override
 Clear the fft data as pure virtual function.
ABACUS_FFT_WEAK FPTYPE * get_rspace_data () const override
 Get the real space data the CPU FFT.
ABACUS_FFT_WEAK std::complex< FPTYPE > * get_auxr_data () const override
ABACUS_FFT_WEAK std::complex< FPTYPE > * get_auxg_data () const override
ABACUS_FFT_WEAK void fftxyfor (std::complex< FPTYPE > *in, std::complex< FPTYPE > *out) const override
 Forward FFT in x-y direction.
ABACUS_FFT_WEAK void fftxybac (std::complex< FPTYPE > *in, std::complex< FPTYPE > *out) const override
ABACUS_FFT_WEAK void fftzfor (std::complex< FPTYPE > *in, std::complex< FPTYPE > *out) const override
 Forward FFT in z direction.
ABACUS_FFT_WEAK void fftzbac (std::complex< FPTYPE > *in, std::complex< FPTYPE > *out) const override
ABACUS_FFT_WEAK void fftxyr2c (FPTYPE *in, std::complex< FPTYPE > *out) const override
 Forward FFT in x-y direction with real to complex.
ABACUS_FFT_WEAK void fftxyc2r (std::complex< FPTYPE > *in, FPTYPE *out) const override
void setupFFT ()
 Setup the fft plan and data as pure virtual function.
void cleanFFT ()
 Clean the fft plan as pure virtual function.
void clear ()
 Clear the fft data as pure virtual function.
void fftxyfor (std::complex< double > *in, std::complex< double > *out) const
void fftxybac (std::complex< double > *in, std::complex< double > *out) const
void fftzfor (std::complex< double > *in, std::complex< double > *out) const
void fftzbac (std::complex< double > *in, std::complex< double > *out) const
void fftxyr2c (double *in, std::complex< double > *out) const
void fftxyc2r (std::complex< double > *in, double *out) const
double * get_rspace_data () const
 Get the real space data in cpu-like fft.
std::complex< double > * get_auxr_data () const
std::complex< double > * get_auxg_data () const
void setupFFT ()
 Setup the fft plan and data as pure virtual function.
void cleanFFT ()
 Clean the fft plan as pure virtual function.
void clear ()
 Clear the fft data as pure virtual function.
void fftxyfor (std::complex< float > *in, std::complex< float > *out) const
void fftxybac (std::complex< float > *in, std::complex< float > *out) const
void fftzfor (std::complex< float > *in, std::complex< float > *out) const
void fftzbac (std::complex< float > *in, std::complex< float > *out) const
void fftxyr2c (float *in, std::complex< float > *out) const
void fftxyc2r (std::complex< float > *in, float *out) const
float * get_rspace_data () const
 Get the real space data in cpu-like fft.
std::complex< float > * get_auxr_data () const
std::complex< float > * get_auxg_data () const
Public Member Functions inherited from ModuleBase::FFT_BASE< FPTYPE >
 FFT_BASE ()
virtual ~FFT_BASE ()
virtual ABACUS_FFT_WEAK void initfft (int nx_in, int ny_in, int nz_in)
virtual void resource_handler (const int flag) const
 Allocate and destory the resoure in FFT running time, Now it only used in the DSP mode.
virtual ABACUS_FFT_WEAK std::complex< FPTYPE > * get_auxr_3d_data () const
 Get the auxiliary real space data in 3D.
virtual ABACUS_FFT_WEAK void fft3D_forward (std::complex< FPTYPE > *in, std::complex< FPTYPE > *out) const
 Forward FFT in 3D.
virtual ABACUS_FFT_WEAK void fft3D_backward (std::complex< FPTYPE > *in, std::complex< FPTYPE > *out) const

Private Member Functions

void clearfft (fftw_plan &plan)
void clearfft (fftwf_plan &plan)
void clearfft (fftw_plan &plan)
void clearfft (fftwf_plan &plan)

Private Attributes

fftw_plan planzfor = NULL
fftw_plan planzbac = NULL
fftw_plan planxfor1 = NULL
fftw_plan planxbac1 = NULL
fftw_plan planxfor2 = NULL
fftw_plan planxbac2 = NULL
fftw_plan planyfor = NULL
fftw_plan planybac = NULL
fftw_plan planxr2c = NULL
fftw_plan planxc2r = NULL
fftw_plan planyr2c = NULL
fftw_plan planyc2r = NULL
fftwf_plan planfzfor = NULL
fftwf_plan planfzbac = NULL
fftwf_plan planfxfor1 = NULL
fftwf_plan planfxbac1 = NULL
fftwf_plan planfxfor2 = NULL
fftwf_plan planfxbac2 = NULL
fftwf_plan planfyfor = NULL
fftwf_plan planfybac = NULL
fftwf_plan planfxr2c = NULL
fftwf_plan planfxc2r = NULL
fftwf_plan planfyr2c = NULL
fftwf_plan planfyc2r = NULL
std::complex< float > * c_auxg = nullptr
std::complex< float > * c_auxr = nullptr
std::complex< double > * z_auxg = nullptr
std::complex< double > * z_auxr = nullptr
float * s_rspace = nullptr
double * d_rspace = nullptr
int fftnx =0
int fftny =0
int fftnxy =0
int nxy =0
int nplane =0
int ns =0
int nproc =1
int maxgrids = 0
bool gamma_only = false
int lixy =0
 lixy: the left edge of the pw ball in the y direction
int rixy =0
 rixy: the right edge of the pw ball in the x or y direction
bool xprime = true
 xprime: whether xprime is used,when do recip2real, x-fft will be done last and when doing real2recip, x-fft will be done first; false: y-fft For gamma_only, true: we use half x; false: we use half y
int fft_mode = 0
 fft_mode: fftw mode 0: estimate, 1: measure, 2: patient, 3: exhaustive

Additional Inherited Members

Protected Attributes inherited from ModuleBase::FFT_BASE< FPTYPE >
int nx = 0
int ny = 0
int nz = 0

Constructor & Destructor Documentation

◆ FFT_CPU() [1/2]

template<typename FPTYPE>
template ModuleBase::FFT_CPU< FPTYPE >::FFT_CPU ( )
inline

◆ FFT_CPU() [2/2]

template<typename FPTYPE>
ModuleBase::FFT_CPU< FPTYPE >::FFT_CPU ( const int fft_mode_in)
inline

◆ ~FFT_CPU()

template<typename FPTYPE>
template ModuleBase::FFT_CPU< FPTYPE >::~FFT_CPU ( )
inline

Member Function Documentation

◆ cleanFFT() [1/3]

void ModuleBase::FFT_CPU< double >::cleanFFT ( )
virtual

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 ModuleBase::FFT_BASE< FPTYPE >.

Here is the call graph for this function:

◆ cleanFFT() [2/3]

void ModuleBase::FFT_CPU< float >::cleanFFT ( )
virtual

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 ModuleBase::FFT_BASE< FPTYPE >.

Here is the call graph for this function:

◆ cleanFFT() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::cleanFFT ( )
overridevirtual

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 ModuleBase::FFT_BASE< FPTYPE >.

Here is the caller graph for this function:

◆ clear() [1/3]

void ModuleBase::FFT_CPU< double >::clear ( )
virtual

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 ModuleBase::FFT_BASE< FPTYPE >.

Here is the call graph for this function:

◆ clear() [2/3]

void ModuleBase::FFT_CPU< float >::clear ( )
virtual

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 ModuleBase::FFT_BASE< FPTYPE >.

Here is the call graph for this function:

◆ clear() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::clear ( )
overridevirtual

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 ModuleBase::FFT_BASE< FPTYPE >.

◆ clearfft() [1/4]

void ModuleBase::FFT_CPU< double >::clearfft ( fftw_plan & plan)
private

◆ clearfft() [2/4]

template<typename FPTYPE>
void ModuleBase::FFT_CPU< FPTYPE >::clearfft ( fftw_plan & plan)
private
Here is the caller graph for this function:

◆ clearfft() [3/4]

template<typename FPTYPE>
void ModuleBase::FFT_CPU< FPTYPE >::clearfft ( fftwf_plan & plan)
private

◆ clearfft() [4/4]

void ModuleBase::FFT_CPU< float >::clearfft ( fftwf_plan & plan)
private

◆ fftxybac() [1/3]

void ModuleBase::FFT_CPU< double >::fftxybac ( std::complex< double > * in,
std::complex< double > * out ) const

◆ fftxybac() [2/3]

void ModuleBase::FFT_CPU< float >::fftxybac ( std::complex< float > * in,
std::complex< float > * out ) const

◆ fftxybac() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::fftxybac ( std::complex< FPTYPE > * in,
std::complex< FPTYPE > * out ) const
overridevirtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ fftxyc2r() [1/3]

void ModuleBase::FFT_CPU< double >::fftxyc2r ( std::complex< double > * in,
double * out ) const

◆ fftxyc2r() [2/3]

void ModuleBase::FFT_CPU< float >::fftxyc2r ( std::complex< float > * in,
float * out ) const

◆ fftxyc2r() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::fftxyc2r ( std::complex< FPTYPE > * in,
FPTYPE * out ) const
overridevirtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ fftxyfor() [1/3]

void ModuleBase::FFT_CPU< double >::fftxyfor ( std::complex< double > * in,
std::complex< double > * out ) const

◆ fftxyfor() [2/3]

void ModuleBase::FFT_CPU< float >::fftxyfor ( std::complex< float > * in,
std::complex< float > * out ) const

◆ fftxyfor() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::fftxyfor ( std::complex< FPTYPE > * in,
std::complex< FPTYPE > * out ) const
overridevirtual

Forward FFT in x-y direction.

Parameters
ininput data
outoutput data

The function details can be found in FFT_BASE, and the function interfaces can be found in FFT_BUNDLE.

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ fftxyr2c() [1/3]

void ModuleBase::FFT_CPU< double >::fftxyr2c ( double * in,
std::complex< double > * out ) const

◆ fftxyr2c() [2/3]

void ModuleBase::FFT_CPU< float >::fftxyr2c ( float * in,
std::complex< float > * out ) const

◆ fftxyr2c() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::fftxyr2c ( FPTYPE * in,
std::complex< FPTYPE > * out ) const
overridevirtual

Forward FFT in x-y direction with real to complex.

Parameters
ininput data, real type
outoutput data, complex type

This function performs the forward FFT in the x-y direction with real to complex.There is no difference between fftxyfor.

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ fftzbac() [1/3]

void ModuleBase::FFT_CPU< double >::fftzbac ( std::complex< double > * in,
std::complex< double > * out ) const

◆ fftzbac() [2/3]

void ModuleBase::FFT_CPU< float >::fftzbac ( std::complex< float > * in,
std::complex< float > * out ) const

◆ fftzbac() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::fftzbac ( std::complex< FPTYPE > * in,
std::complex< FPTYPE > * out ) const
overridevirtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ fftzfor() [1/3]

void ModuleBase::FFT_CPU< double >::fftzfor ( std::complex< double > * in,
std::complex< double > * out ) const

◆ fftzfor() [2/3]

void ModuleBase::FFT_CPU< float >::fftzfor ( std::complex< float > * in,
std::complex< float > * out ) const

◆ fftzfor() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::fftzfor ( std::complex< FPTYPE > * in,
std::complex< FPTYPE > * out ) const
overridevirtual

Forward FFT in z direction.

Parameters
ininput data
outoutput data

This function performs the forward FFT in the z direction. It involves only one axis, z. The FFT is applied only once. Notably, the Z axis operates in many FFT with nz*ns.

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_auxg_data() [1/3]

std::complex< double > * ModuleBase::FFT_CPU< double >::get_auxg_data ( ) const
virtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_auxg_data() [2/3]

std::complex< float > * ModuleBase::FFT_CPU< float >::get_auxg_data ( ) const
virtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_auxg_data() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK std::complex< FPTYPE > * ModuleBase::FFT_CPU< FPTYPE >::get_auxg_data ( ) const
overridevirtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_auxr_data() [1/3]

std::complex< double > * ModuleBase::FFT_CPU< double >::get_auxr_data ( ) const
virtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_auxr_data() [2/3]

std::complex< float > * ModuleBase::FFT_CPU< float >::get_auxr_data ( ) const
virtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_auxr_data() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK std::complex< FPTYPE > * ModuleBase::FFT_CPU< FPTYPE >::get_auxr_data ( ) const
overridevirtual

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_rspace_data() [1/3]

double * ModuleBase::FFT_CPU< double >::get_rspace_data ( ) const
virtual

Get the real space data in cpu-like fft.

The function is used to get the real space data.While the FFT_BASE is an abstract class,the function will be override, The attribute weak is used to avoid define the function.

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_rspace_data() [2/3]

float * ModuleBase::FFT_CPU< float >::get_rspace_data ( ) const
virtual

Get the real space data in cpu-like fft.

The function is used to get the real space data.While the FFT_BASE is an abstract class,the function will be override, The attribute weak is used to avoid define the function.

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ get_rspace_data() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK FPTYPE * ModuleBase::FFT_CPU< FPTYPE >::get_rspace_data ( ) const
overridevirtual

Get the real space data the CPU FFT.

Returns
FPTYPE* the real space data.

the function will return the real space data, which is used in the CPU fft.Use the weak attribute to avoid defining float while without flag ENABLE_FLOAT_FFTW.

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ initfft()

template<typename FPTYPE>
void ModuleBase::FFT_CPU< FPTYPE >::initfft ( int nx_in,
int ny_in,
int nz_in,
int lixy_in,
int rixy_in,
int ns_in,
int nplane_in,
int nproc_in,
bool gamma_only_in,
bool xprime_in = true )
overridevirtual

Initialize the fft parameters.

Parameters
nx_innumber of grid points in x direction.
ny_innumber of grid points in y direction.
nz_innumber of grid points in z direction.
lixy_inthe position of the left boundary in the x-y plane.
rixy_inthe position of the right boundary in the x-y plane.
ns_innumber of stick whcih is used in the Z direction.
nplane_innumber of x-y planes.
nproc_innumber of processors.
gamma_only_inwhether only gamma point is used.
xprime_inwhether xprime is used.

Reimplemented from ModuleBase::FFT_BASE< FPTYPE >.

◆ setupFFT() [1/3]

void ModuleBase::FFT_CPU< double >::setupFFT ( )
virtual

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 ModuleBase::FFT_BASE< FPTYPE >.

◆ setupFFT() [2/3]

void ModuleBase::FFT_CPU< float >::setupFFT ( )
virtual

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 ModuleBase::FFT_BASE< FPTYPE >.

◆ setupFFT() [3/3]

template<typename FPTYPE>
ABACUS_FFT_WEAK void ModuleBase::FFT_CPU< FPTYPE >::setupFFT ( )
overridevirtual

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 ModuleBase::FFT_BASE< FPTYPE >.

Member Data Documentation

◆ c_auxg

template<typename FPTYPE>
std::complex<float>* ModuleBase::FFT_CPU< FPTYPE >::c_auxg = nullptr
private

◆ c_auxr

template<typename FPTYPE>
std::complex<float>* ModuleBase::FFT_CPU< FPTYPE >::c_auxr = nullptr
private

◆ d_rspace

template<typename FPTYPE>
double* ModuleBase::FFT_CPU< FPTYPE >::d_rspace = nullptr
private

◆ fft_mode

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::fft_mode = 0
private

fft_mode: fftw mode 0: estimate, 1: measure, 2: patient, 3: exhaustive

◆ fftnx

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::fftnx =0
private

◆ fftnxy

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::fftnxy =0
private

◆ fftny

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::fftny =0
private

◆ gamma_only

template<typename FPTYPE>
bool ModuleBase::FFT_CPU< FPTYPE >::gamma_only = false
private

◆ lixy

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::lixy =0
private

lixy: the left edge of the pw ball in the y direction

◆ maxgrids

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::maxgrids = 0
private

◆ nplane

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::nplane =0
private

◆ nproc

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::nproc =1
private

◆ ns

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::ns =0
private

◆ nxy

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::nxy =0
private

◆ planfxbac1

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfxbac1 = NULL
private

◆ planfxbac2

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfxbac2 = NULL
private

◆ planfxc2r

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfxc2r = NULL
private

◆ planfxfor1

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfxfor1 = NULL
private

◆ planfxfor2

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfxfor2 = NULL
private

◆ planfxr2c

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfxr2c = NULL
private

◆ planfybac

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfybac = NULL
private

◆ planfyc2r

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfyc2r = NULL
private

◆ planfyfor

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfyfor = NULL
private

◆ planfyr2c

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfyr2c = NULL
private

◆ planfzbac

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfzbac = NULL
private

◆ planfzfor

template<typename FPTYPE>
fftwf_plan ModuleBase::FFT_CPU< FPTYPE >::planfzfor = NULL
private

◆ planxbac1

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planxbac1 = NULL
private

◆ planxbac2

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planxbac2 = NULL
private

◆ planxc2r

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planxc2r = NULL
private

◆ planxfor1

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planxfor1 = NULL
private

◆ planxfor2

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planxfor2 = NULL
private

◆ planxr2c

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planxr2c = NULL
private

◆ planybac

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planybac = NULL
private

◆ planyc2r

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planyc2r = NULL
private

◆ planyfor

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planyfor = NULL
private

◆ planyr2c

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planyr2c = NULL
private

◆ planzbac

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planzbac = NULL
private

◆ planzfor

template<typename FPTYPE>
fftw_plan ModuleBase::FFT_CPU< FPTYPE >::planzfor = NULL
private

◆ rixy

template<typename FPTYPE>
int ModuleBase::FFT_CPU< FPTYPE >::rixy =0
private

rixy: the right edge of the pw ball in the x or y direction

◆ s_rspace

template<typename FPTYPE>
float* ModuleBase::FFT_CPU< FPTYPE >::s_rspace = nullptr
private

◆ xprime

template<typename FPTYPE>
bool ModuleBase::FFT_CPU< FPTYPE >::xprime = true
private

xprime: whether xprime is used,when do recip2real, x-fft will be done last and when doing real2recip, x-fft will be done first; false: y-fft For gamma_only, true: we use half x; false: we use half y

◆ z_auxg

template<typename FPTYPE>
std::complex<double>* ModuleBase::FFT_CPU< FPTYPE >::z_auxg = nullptr
private

◆ z_auxr

template<typename FPTYPE>
std::complex<double>* ModuleBase::FFT_CPU< FPTYPE >::z_auxr = nullptr
private

The documentation for this class was generated from the following files: