35#ifndef NEKTAR_LIB_UTILIITIES_FFT_NEKFFTW_H
36#define NEKTAR_LIB_UTILIITIES_FFT_NEKFFTW_H
50template <
typename Dim,
typename DataType>
class Array;
void v_FFTBwdTrans(Array< OneD, NekDouble > &inarray, Array< OneD, NekDouble > &outarray) override
Array< OneD, NekDouble > m_coef
Array< OneD, NekDouble > m_phys
static NektarFFTSharedPtr create(int N)
Creates an instance of this class.
static std::string className
Name of class.
void Reshuffle_Nek2FFTW(Array< OneD, NekDouble > &coef)
void v_FFTFwdTrans(Array< OneD, NekDouble > &inarray, Array< OneD, NekDouble > &outarray) override
void Reshuffle_FFTW2Nek(Array< OneD, NekDouble > &coef)
fftw_plan m_plan_backward
Array< OneD, NekDouble > m_wsp
Array< OneD, NekDouble > m_FFTW_w
Array< OneD, NekDouble > m_FFTW_w_inv
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
std::shared_ptr< NektarFFT > NektarFFTSharedPtr
std::shared_ptr< NekFFTW > NekFFTWSharedPtr