Fourier library: Operations in the Fourier domain

◆ create_plan_backward()

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

create plan.

Definition at line 83 of file fftwaff.cc.

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

Referenced by operator()().

84  {
85  if (Mplan_backward==0)
86  {
87 #ifdef FFTWFALLBACK
88  Mplan_backward=rfftw_create_plan(Msize, FFTW_BACKWARD, 0);
89 #else
90  this->create_arrays();
91  Mplan_backward=fftw_plan_dft_c2r_1d(Msize, Mspectrumarray,
93  FFTW_ESTIMATE);
94 #endif
96  "Error (DRFFTWAFF::create_plan_backward): "
97  "could not create plan!")
98  }
99  } // void DRFFTWAFF::create_plan_backward() const
#define FOURIER_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:141
fftw_plan Mplan_backward
Definition: fftwaff.h:193
fftw_complex * Mspectrumarray
Definition: fftwaff.h:195
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: