Nektar++
|
#include <NekFFTW.h>
Public Member Functions | |
NekFFTW (int N) | |
virtual | ~NekFFTW () |
virtual void | v_FFTFwdTrans (Array< OneD, NekDouble > &inarray, Array< OneD, NekDouble > &outarray) |
virtual void | v_FFTBwdTrans (Array< OneD, NekDouble > &inarray, Array< OneD, NekDouble > &outarray) |
Public Member Functions inherited from Nektar::LibUtilities::NektarFFT | |
NektarFFT (int N) | |
Initialises NektarFFT class members. More... | |
~NektarFFT () | |
void | FFTFwdTrans (Array< OneD, NekDouble > &phy, Array< OneD, NekDouble > &coef) |
void | FFTBwdTrans (Array< OneD, NekDouble > &coef, Array< OneD, NekDouble > &phys) |
Static Public Member Functions | |
static NektarFFTSharedPtr | create (int N) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
Protected Member Functions | |
void | Reshuffle_FFTW2Nek (Array< OneD, NekDouble > &coef) |
void | Reshuffle_Nek2FFTW (Array< OneD, NekDouble > &coef) |
Protected Attributes | |
Array< OneD, NekDouble > | m_FFTW_w |
Array< OneD, NekDouble > | m_FFTW_w_inv |
Array< OneD, NekDouble > | phys |
Array< OneD, NekDouble > | coef |
Array< OneD, NekDouble > | m_wsp |
fftw_plan | plan_backward |
fftw_plan | plan_forward |
Additional Inherited Members | |
Public Attributes inherited from Nektar::LibUtilities::NektarFFT | |
int | m_N |
Nektar::LibUtilities::NekFFTW::NekFFTW | ( | int | N | ) |
Definition at line 48 of file NekFFTW.cpp.
References coef, m_FFTW_w, m_FFTW_w_inv, Nektar::LibUtilities::NektarFFT::m_N, m_wsp, phys, plan_backward, and plan_forward.
|
virtual |
Definition at line 77 of file NekFFTW.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 66 of file NekFFTW.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
Reshuffling routines to put the coefficients in Nektar++/FFTW format. The routines take as an input the number of points N, the vector of coeffcients and the vector containing the weights of the numerical integration. The routines modify directly the coef vector.
Definition at line 111 of file NekFFTW.cpp.
References m_FFTW_w, Nektar::LibUtilities::NektarFFT::m_N, m_wsp, Vmath::Vcopy(), and Vmath::Vmul().
Referenced by v_FFTFwdTrans().
Definition at line 130 of file NekFFTW.cpp.
References m_FFTW_w_inv, Nektar::LibUtilities::NektarFFT::m_N, m_wsp, Vmath::Smul(), Vmath::Vcopy(), and Vmath::Vmul().
Referenced by v_FFTBwdTrans().
|
virtual |
Reimplemented from Nektar::LibUtilities::NektarFFT.
Definition at line 97 of file NekFFTW.cpp.
References coef, Nektar::LibUtilities::NektarFFT::m_N, phys, plan_backward, Reshuffle_Nek2FFTW(), and Vmath::Vcopy().
|
virtual |
Reimplemented from Nektar::LibUtilities::NektarFFT.
Definition at line 83 of file NekFFTW.cpp.
References coef, Nektar::LibUtilities::NektarFFT::m_N, phys, plan_forward, Reshuffle_FFTW2Nek(), and Vmath::Vcopy().
|
static |
Name of class.
Definition at line 94 of file NekFFTW.h.
Referenced by NekFFTW(), v_FFTBwdTrans(), and v_FFTFwdTrans().
Definition at line 90 of file NekFFTW.h.
Referenced by NekFFTW(), and Reshuffle_FFTW2Nek().
Definition at line 91 of file NekFFTW.h.
Referenced by NekFFTW(), and Reshuffle_Nek2FFTW().
Definition at line 96 of file NekFFTW.h.
Referenced by NekFFTW(), Reshuffle_FFTW2Nek(), and Reshuffle_Nek2FFTW().
Definition at line 93 of file NekFFTW.h.
Referenced by NekFFTW(), v_FFTBwdTrans(), and v_FFTFwdTrans().
|
protected |
Definition at line 98 of file NekFFTW.h.
Referenced by NekFFTW(), and v_FFTBwdTrans().
|
protected |
Definition at line 99 of file NekFFTW.h.
Referenced by NekFFTW(), and v_FFTFwdTrans().