Overture
Version 25
|
#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) |
FourierOperators::FourierOperators | ( | const int & | numberOfDimensions, |
const int & | nx, | ||
const int & | ny = 1 , |
||
const int & | nz = 1 |
||
) |
References FALSE, setDimensions(), and twoPi.
FourierOperators::~FourierOperators | ( | ) |
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 |
||
) |
References nullRange, and pow().
Referenced by MappedGridOperators::spectralDerivatives().
void FourierOperators::fourierToReal | ( | const RealArray & | uHat, |
RealArray & | u, | ||
const Range & | Components = nullRange |
||
) |
References transform().
Referenced by MappedGridOperators::spectralDerivatives().
void FourierOperators::realToFourier | ( | const RealArray & | u, |
RealArray & | uHat, | ||
const Range & | Components = nullRange |
||
) |
References transform().
Referenced by MappedGridOperators::spectralDerivatives().
void FourierOperators::setDefaultRanges | ( | const Range & | R1, |
const Range & | R2 = nullRange , |
||
const Range & | R3 = nullRange |
||
) |
References FALSE, and nullRange.
Referenced by MappedGridOperators::spectralDerivatives().
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 |
||
) |
References FALSE.
Referenced by MappedGridOperators::spectralDerivatives().
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().