Fast fourier transform using the fftw library. More...
Public Types | |
enum | transformDirection { FORWARD_TRANSFORM = -1, REVERSE_TRANSFORM = 1 } |
Static Public Member Functions | |
static void | fftRenumberRecurse (List< complex > &data, List< complex > &renumData, const UList< int > &nn, label nnprod, label ii, label l1, label l2) |
static void | fftRenumber (List< complex > &data, const UList< int > &nn) |
static tmp< complexField > | realTransform1D (const scalarField &field) |
static tmp< complexField > | realTransform1D (const tmp< scalarField > &field) |
static void | transform (complexField &field, const UList< int > &nn, transformDirection fftDirection) |
static tmp< complexField > | forwardTransform (const tmp< complexField > &field, const UList< int > &nn) |
static tmp< complexField > | reverseTransform (const tmp< complexField > &field, const UList< int > &nn) |
static tmp< complexVectorField > | forwardTransform (const tmp< complexVectorField > &field, const UList< int > &nn) |
static tmp< complexVectorField > | reverseTransform (const tmp< complexVectorField > &field, const UList< int > &nn) |
Fast fourier transform using the fftw library.
The complex transform field is returned in the field supplied. The direction of transform is supplied as an argument (-1 = forward, 1 = reverse). The dimensionality and organisation of the array of values in space is supplied in the nn indexing array.
enum transformDirection |
|
static |
Definition at line 28 of file fft.C.
References Foam::roots::complex, Foam::Im(), Foam::Re(), and UList::size().
Referenced by fft::fftRenumber().
Definition at line 87 of file fft.C.
References fft::fftRenumberRecurse(), and forAll.
|
static |
Definition at line 113 of file fft.C.
References field(), n, and tmp::New().
Referenced by noiseFFT::Pf(), and noiseModel::Pf().
|
static |
Definition at line 161 of file fft.C.
References tmp::clear().
|
static |
Definition at line 172 of file fft.C.
References UList::begin(), field(), forAll, N(), and UList::size().
|
static |
Definition at line 236 of file fft.C.
References tmp::clear(), tmp::New(), and Foam::transform().
Referenced by energySpectrum::calcAndWriteSpectrum(), and Foam::calcEk().
|
static |
Definition at line 252 of file fft.C.
References tmp::clear(), tmp::New(), and Foam::transform().
Referenced by turbGen::U().
|
static |
Definition at line 268 of file fft.C.
References tmp::clear(), Foam::component(), VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, and tmp::New().
|
static |
Definition at line 291 of file fft.C.
References tmp::clear(), Foam::component(), VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, and tmp::New().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.