Overture  Version 25
Public Member Functions | List of all members
FourierOperators Class Reference

#include <FourierOperators.h>

Public Member Functions

 FourierOperators (const int &numberOfDimensions, const int &nx, const int &ny=1, const int &nz=1)
 
 ~FourierOperators ()
 
void setDimensions (const int &numberOfDimensions, const int &nx, const int &ny=1, const int &nz=1)
 
void setPeriod (const real &xPeriod, const real &yPeriod=twoPi, const real &zPeriod=twoPi)
 
void setDefaultRanges (const Range &R1, const Range &R2=nullRange, const Range &R3=nullRange)
 
void realToFourier (const RealArray &u, RealArray &uHat, const Range &Components=nullRange)
 
void fourierToReal (const RealArray &uHat, RealArray &u, const Range &Components=nullRange)
 
void fourierDerivative (const RealArray &uHat, RealArray &uHatDerivative, const int &xDerivative=1, const int &yDerivative=0, const int &zDerivative=0, const Range &Components=nullRange)
 
void fourierLaplacian (const RealArray &uHat, RealArray &uHatLaplacian, const int &power=1, const Range &Components=nullRange)
 
void transform (const int &forwardOrBackward, const RealArray &u, RealArray &uHat, const Range &Components)
 

Constructor & Destructor Documentation

FourierOperators::FourierOperators ( const int &  numberOfDimensions,
const int &  nx,
const int &  ny = 1,
const int &  nz = 1 
)

References FALSE, setDimensions(), and twoPi.

FourierOperators::~FourierOperators ( )

Member Function Documentation

void FourierOperators::fourierDerivative ( const RealArray uHat,
RealArray uHatDerivative,
const int &  xDerivative = 1,
const int &  yDerivative = 0,
const int &  zDerivative = 0,
const Range &  Components = nullRange 
)

References nullRange, pow(), and R.

Referenced by MappedGridOperators::spectralDerivatives().

void FourierOperators::fourierLaplacian ( const RealArray uHat,
RealArray uHatLaplacian,
const int &  power = 1,
const Range &  Components = nullRange 
)
void FourierOperators::fourierToReal ( const RealArray uHat,
RealArray u,
const Range &  Components = nullRange 
)
void FourierOperators::realToFourier ( const RealArray u,
RealArray uHat,
const Range &  Components = nullRange 
)
void FourierOperators::setDefaultRanges ( const Range &  R1,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange 
)
void FourierOperators::setDimensions ( const int &  numberOfDimensions,
const int &  nx,
const int &  ny = 1,
const int &  nz = 1 
)

References FALSE.

Referenced by FourierOperators().

void FourierOperators::setPeriod ( const real xPeriod,
const real yPeriod = twoPi,
const real zPeriod = twoPi 
)
void FourierOperators::transform ( const int &  forwardOrBackward,
const RealArray u,
RealArray uHat,
const Range &  Components 
)

References i2, nullRange, RFFTB, and RFFTF.

Referenced by fourierToReal(), and realToFourier().


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