42 namespace LibUtilities
52 phys = Array<OneD,NekDouble>(
m_N);
53 coef = Array<OneD,NekDouble>(
m_N);
56 FFTW_R2HC, FFTW_ESTIMATE);
58 FFTW_HC2R, FFTW_ESTIMATE);
66 m_FFTW_w_inv[0] =
m_N;
67 m_FFTW_w_inv[1] = 0.0;
69 for(
int i=2;i<
m_N;i++)
71 m_FFTW_w[i] = m_FFTW_w[0];
72 m_FFTW_w_inv[i] = m_FFTW_w_inv[0];
84 Array<OneD,NekDouble> &inarray,
85 Array<OneD,NekDouble> &outarray)
98 Array<OneD,NekDouble> &inarray,
99 Array<OneD,NekDouble> &outarray)
115 m_wsp[1] = coef[halfN];
119 for(
int i = 0; i < (halfN - 1); i++)
121 m_wsp[(
m_N-1)-2*i] = coef[halfN+1+i];
136 m_wsp[halfN] = coef[1];
140 for(
int i = 0; i < (halfN-1); i++)
142 m_wsp[halfN+1+i] = coef[(
m_N-1)-2*i];