UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
CDFT2D_FFTW Class Reference

#include <cdft2d_fftw.hpp>

Inheritance diagram for CDFT2D_FFTW:
CDFT2D CDFT2D_FFTW_Thrds

Public Member Functions

 CDFT2D_FFTW (int direction=1)
 
bool operator() (WaveField &tReal, WaveField &tIm) const
 
virtual bool calc (WaveField &tReal, WaveField &tIm) const
 
virtual bool calc (Trace &tReal, Trace &tIm) const
 
void setDirection (int direction)
 
int getDirection () const
 
void setRotateFlag (bool rotate)
 
bool getRotateFlag () const
 
- Public Member Functions inherited from CDFT2D
 CDFT2D (int direction=1)
 
bool operator() (WaveField &tReal, WaveField &tIm) const
 
void setDirection (int direction)
 
int getDirection () const
 
void setNormType (NormType norm_type)
 
NormType getNormType () const
 

Protected Member Functions

void rotate (WaveField &matr) const
 
void rotate (Trace &vec) const
 
void norm (WaveField &matr) const
 
void norm (Trace &vector) const
 
void set_proper_freq (Trace &tr) const
 
void set_proper_freq (WaveField &field) const
 
virtual void create_1d_plan (int N0, fftw_plan &plan, fftw_complex *in, fftw_complex *out) const
 
virtual void create_2d_plan (int N0, int N1, fftw_plan &plan, fftw_complex *in, fftw_complex *out) const
 
virtual void destroy_plan (fftw_plan &plan) const
 

Additional Inherited Members

- Public Types inherited from CDFT2D
enum  NormType { DINORM = 0, INORM, NONORM }
 
- Protected Attributes inherited from CDFT2D
int m_direction
 
NormType m_norm_type
 

Detailed Description

Complex 2D discrete Fourier transformation

Constructor & Destructor Documentation

CDFT2D_FFTW::CDFT2D_FFTW ( int  direction = 1)

Default constructor with direction provided. 1 - Direct transform, -1 - inverse transform

Member Function Documentation

virtual bool CDFT2D_FFTW::calc ( WaveField tReal,
WaveField tIm 
) const
virtual

Calculates 2D Fourier transformation for real and imag data provided

Implements CDFT2D.

virtual bool CDFT2D_FFTW::calc ( Trace tReal,
Trace tIm 
) const
virtual

Calculates 1D Fourier transformation for real and imag data provided

int CDFT2D_FFTW::getDirection ( ) const
inline

Get current transormation direction

bool CDFT2D_FFTW::getRotateFlag ( ) const
inline

Get current transormation direction

bool CDFT2D_FFTW::operator() ( WaveField tReal,
WaveField tIm 
) const
inline

Calculates Fourier transformation for real and imag data provided

void CDFT2D_FFTW::rotate ( WaveField matr) const
protected

Transform matrix in vector

void CDFT2D_FFTW::setDirection ( int  direction)
inline

Available values are 1 (direct) and -1 (inverse) FFT

void CDFT2D_FFTW::setRotateFlag ( bool  rotate)
inline

Available values are 1 (direct) and -1 (inverse) FFT


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