Fourier library: Operations in the Fourier domain

◆ create_plan_forward()

void fourier::fft::DRFFTWAFF::create_plan_forward ( ) const
private

create plan.

Definition at line 60 of file fftwaff.cc.

References create_arrays(), FOURIER_assert, Mplan_forward, Mseriesarray, Msize, and Mspectrumarray.

Referenced by operator()().

61  {
62  if (Mplan_forward==0)
63  {
64  //Mplan_forward=rfftw_create_plan(Msize, FFTW_FORWARD, 0);
65 #ifdef FFTWFALLBACK
66  Mplan_forward=rfftw_create_plan(Msize, FFTW_REAL_TO_COMPLEX,
67  FFTW_ESTIMATE);
68 #else
69  this->create_arrays();
70  Mplan_forward=fftw_plan_dft_r2c_1d(Msize, Mseriesarray,
72  FFTW_ESTIMATE);
73 #endif
75  "Error (DRFFTWAFF::create_plan_forward): "
76  "could not create plan!")
77  }
78  } // void DRFFTWAFF::create_plan_forward() const
#define FOURIER_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:141
fftw_complex * Mspectrumarray
Definition: fftwaff.h:195
fftw_plan Mplan_forward
Definition: fftwaff.h:192
unsigned int Msize
Definition: fftwaff.h:187
void create_arrays() const
create plans.
Definition: fftwaff.cc:147
Here is the call graph for this function:
Here is the caller graph for this function: