OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
FFTPACK< T > Class Template Reference

#include <fftpack_FFT.h>

Collaboration diagram for FFTPACK< T >:

Public Types

typedef std::complex< T > Complex_t

Public Member Functions

 FFTPACK (void)
 ~FFTPACK (void)
void setup (unsigned numTransformDims, const int *transformTypes, const int *axisLengths)
void callFFT (unsigned transformDim, int direction, Complex_t *data)
void callFFT (unsigned transformDim, int direction, T *data)

Private Attributes

unsigned numTransformDims_m
int * transformType_m
int * axisLength_m
T ** trig_m

Detailed Description

template<class T>
class FFTPACK< T >

Definition at line 101 of file fftpack_FFT.h.

Member Typedef Documentation

◆ Complex_t

template<class T>
typedef std::complex<T> FFTPACK< T >::Complex_t

Definition at line 106 of file fftpack_FFT.h.

Constructor & Destructor Documentation

◆ FFTPACK()

template<class T>
FFTPACK< T >::FFTPACK ( void )
inline

Definition at line 109 of file fftpack_FFT.h.

◆ ~FFTPACK()

template<class T>
FFTPACK< T >::~FFTPACK ( void )
inline

Definition at line 141 of file fftpack_FFT.h.

References axisLength_m, numTransformDims_m, transformType_m, and trig_m.

Member Function Documentation

◆ callFFT() [1/2]

template<class T>
void FFTPACK< T >::callFFT ( unsigned transformDim,
int direction,
Complex_t * data )

◆ callFFT() [2/2]

template<class T>
void FFTPACK< T >::callFFT ( unsigned transformDim,
int direction,
T * data )
inline

Definition at line 255 of file fftpack_FFT.h.

References axisLength_m, endl(), ERRORMSG, numTransformDims_m, PAssert_EQ, PAssert_LT, transformType_m, and trig_m.

Here is the call graph for this function:

◆ setup()

template<class T>
void FFTPACK< T >::setup ( unsigned numTransformDims,
const int * transformTypes,
const int * axisLengths )
inline

Definition at line 153 of file fftpack_FFT.h.

References axisLength_m, endl(), ERRORMSG, numTransformDims_m, transformType_m, and trig_m.

Referenced by FFT< CCTransform, Dim, T >::FFT().

Here is the call graph for this function:

Member Data Documentation

◆ axisLength_m

template<class T>
int* FFTPACK< T >::axisLength_m
private

Definition at line 130 of file fftpack_FFT.h.

Referenced by callFFT(), setup(), and ~FFTPACK().

◆ numTransformDims_m

template<class T>
unsigned FFTPACK< T >::numTransformDims_m
private

Definition at line 128 of file fftpack_FFT.h.

Referenced by callFFT(), setup(), and ~FFTPACK().

◆ transformType_m

template<class T>
int* FFTPACK< T >::transformType_m
private

Definition at line 129 of file fftpack_FFT.h.

Referenced by callFFT(), setup(), and ~FFTPACK().

◆ trig_m

template<class T>
T** FFTPACK< T >::trig_m
private

Definition at line 131 of file fftpack_FFT.h.

Referenced by callFFT(), setup(), and ~FFTPACK().


The documentation for this class was generated from the following file: