libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
fftw Class Referenceabstract

#include <moMathFFT.h>

Inheritance diagram for fftw:
crfft1d crfft2d crfft3d fft1d fft2d fft3d mcrfft1d mfft1d mrcfft1d rcfft1d rcfft2d rcfft3d

Public Member Functions

 fftw (unsigned int size, int sign, unsigned int n=0)
 
virtual ~fftw ()
 
virtual fftw_plan Plan (Complex *in, Complex *out)=0
 
void CheckAlign (Complex *p, const char *s)
 
void Setup (Complex *in, Complex *out=NULL)
 
void Setup (Complex *in, double *out)
 
void Setup (double *in, Complex *out)
 
void LoadWisdom ()
 
void SaveWisdom ()
 
virtual void Execute (Complex *in, Complex *out)
 
void Setout (Complex *in, Complex *&out)
 
void fft (Complex *in, Complex *out=NULL)
 
void fft (double *in, Complex *out)
 
void fft (Complex *in, double *out)
 
void fft0 (Complex *in, Complex *out=NULL)
 
void fft0 (double *in, Complex *out)
 
void fft0 (Complex *in, double *out)
 
void Normalize (Complex *out)
 
virtual void fftNormalized (Complex *in, Complex *out=NULL)
 
void fftNormalized (Complex *in, double *out)
 
void fftNormalized (double *in, Complex *out)
 
void fft0Normalized (Complex *in, Complex *out=NULL)
 
void fft0Normalized (Complex *in, double *out)
 
void fft0Normalized (double *in, Complex *out)
 
void fftNormalized (Complex *in, Complex *out, unsigned int nx, unsigned int m, unsigned int stride, unsigned int dist)
 

Protected Member Functions

unsigned int Dist (unsigned int n, unsigned int stride, unsigned int dist)
 
unsigned int realsize (unsigned int n, Complex *in, Complex *out)
 
unsigned int realsize (unsigned int n, Complex *in, double *out)
 
void Shift (Complex *data, unsigned int nx, unsigned int ny)
 
void Shift (Complex *data, unsigned int nx, unsigned int ny, unsigned int nz)
 

Protected Attributes

unsigned int size
 
int sign
 
double norm
 
bool shift
 
bool inplace
 
fftw_plan plan
 

Static Protected Attributes

static unsigned int effort
 
static bool Wise
 
static const char * WisdomName
 
static ifstream ifWisdom
 
static ofstream ofWisdom
 

Detailed Description

Definition at line 146 of file moMathFFT.h.

Constructor & Destructor Documentation

fftw::fftw ( unsigned int  size,
int  sign,
unsigned int  n = 0 
)
inline

Definition at line 205 of file moMathFFT.h.

virtual fftw::~fftw ( )
inlinevirtual

Definition at line 208 of file moMathFFT.h.

Member Function Documentation

void fftw::CheckAlign ( Complex p,
const char *  s 
)
inline

Definition at line 212 of file moMathFFT.h.

unsigned int fftw::Dist ( unsigned int  n,
unsigned int  stride,
unsigned int  dist 
)
inlineprotected

Definition at line 162 of file moMathFFT.h.

virtual void fftw::Execute ( Complex in,
Complex out 
)
inlinevirtual

Reimplemented in crfft3d, rcfft3d, crfft2d, rcfft2d, mcrfft1d, mrcfft1d, crfft1d, and rcfft1d.

Definition at line 256 of file moMathFFT.h.

void fftw::fft ( Complex in,
Complex out = NULL 
)
inline

Definition at line 274 of file moMathFFT.h.

void fftw::fft ( double *  in,
Complex out 
)
inline

Definition at line 279 of file moMathFFT.h.

void fftw::fft ( Complex in,
double *  out 
)
inline

Definition at line 283 of file moMathFFT.h.

void fftw::fft0 ( Complex in,
Complex out = NULL 
)
inline

Definition at line 287 of file moMathFFT.h.

void fftw::fft0 ( double *  in,
Complex out 
)
inline

Definition at line 294 of file moMathFFT.h.

void fftw::fft0 ( Complex in,
double *  out 
)
inline

Definition at line 298 of file moMathFFT.h.

void fftw::fft0Normalized ( Complex in,
Complex out = NULL 
)
inline

Definition at line 320 of file moMathFFT.h.

void fftw::fft0Normalized ( Complex in,
double *  out 
)
inline

Definition at line 328 of file moMathFFT.h.

void fftw::fft0Normalized ( double *  in,
Complex out 
)
inline

Definition at line 332 of file moMathFFT.h.

virtual void fftw::fftNormalized ( Complex in,
Complex out = NULL 
)
inlinevirtual

Reimplemented in mcrfft1d, mrcfft1d, and mfft1d.

Definition at line 306 of file moMathFFT.h.

void fftw::fftNormalized ( Complex in,
double *  out 
)
inline

Definition at line 312 of file moMathFFT.h.

void fftw::fftNormalized ( double *  in,
Complex out 
)
inline

Definition at line 316 of file moMathFFT.h.

void fftw::fftNormalized ( Complex in,
Complex out,
unsigned int  nx,
unsigned int  m,
unsigned int  stride,
unsigned int  dist 
)
inline

Definition at line 336 of file moMathFFT.h.

void fftw::LoadWisdom ( )
inline

Definition at line 243 of file moMathFFT.h.

void fftw::Normalize ( Complex out)
inline

Definition at line 302 of file moMathFFT.h.

virtual fftw_plan fftw::Plan ( Complex in,
Complex out 
)
pure virtual
unsigned int fftw::realsize ( unsigned int  n,
Complex in,
Complex out 
)
inlineprotected

Definition at line 166 of file moMathFFT.h.

unsigned int fftw::realsize ( unsigned int  n,
Complex in,
double *  out 
)
inlineprotected

Definition at line 170 of file moMathFFT.h.

void fftw::SaveWisdom ( )
inline

Definition at line 250 of file moMathFFT.h.

void fftw::Setout ( Complex in,
Complex *&  out 
)
inline

Definition at line 260 of file moMathFFT.h.

void fftw::Setup ( Complex in,
Complex out = NULL 
)
inline

Definition at line 218 of file moMathFFT.h.

void fftw::Setup ( Complex in,
double *  out 
)
inline

Definition at line 240 of file moMathFFT.h.

void fftw::Setup ( double *  in,
Complex out 
)
inline

Definition at line 241 of file moMathFFT.h.

void fftw::Shift ( Complex data,
unsigned int  nx,
unsigned int  ny 
)
inlineprotected

Definition at line 175 of file moMathFFT.h.

void fftw::Shift ( Complex data,
unsigned int  nx,
unsigned int  ny,
unsigned int  nz 
)
inlineprotected

Definition at line 186 of file moMathFFT.h.

Member Data Documentation

unsigned int fftw::effort
staticprotected

Definition at line 156 of file moMathFFT.h.

ifstream fftw::ifWisdom
staticprotected

Definition at line 159 of file moMathFFT.h.

bool fftw::inplace
protected

Definition at line 153 of file moMathFFT.h.

double fftw::norm
protected

Definition at line 150 of file moMathFFT.h.

ofstream fftw::ofWisdom
staticprotected

Definition at line 160 of file moMathFFT.h.

fftw_plan fftw::plan
protected

Definition at line 154 of file moMathFFT.h.

bool fftw::shift
protected

Definition at line 151 of file moMathFFT.h.

int fftw::sign
protected

Definition at line 149 of file moMathFFT.h.

unsigned int fftw::size
protected

Definition at line 148 of file moMathFFT.h.

const char* fftw::WisdomName
staticprotected

Definition at line 158 of file moMathFFT.h.

bool fftw::Wise
staticprotected

Definition at line 157 of file moMathFFT.h.


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