#include <FFTBase.h>
Inheritance diagram for FFTBase< Dim, T >:
Public Types | |
typedef T | Precision_t |
typedef NDIndex< Dim > | Domain_t |
typedef FFTPACK< T > | InternalFFT_t |
enum | { dimensions = Dim } |
enum | FFT_e { ccFFT, rcFFT, sineFFT } |
Public Member Functions | |
FFTBase () | |
FFTBase (FFT_e transform, const Domain_t &domain, const bool transformTheseDims[Dim], bool compressTemps) | |
FFTBase (FFT_e transform, const Domain_t &domain, bool compressTemps) | |
virtual | ~FFTBase (void) |
void | write (ostream &out) const |
void | setDirectionName (int direction, const char *directionName) |
void | setNormFact (Precision_t nf) |
int | transVnodes () const |
Protected Member Functions | |
int | getDirection (const char *directionName) const |
translate direction name string into dimension number | |
bool | transformDim (unsigned d) const |
query whether this dimension is to be transformed | |
unsigned | numTransformDims (void) const |
query number of transform dimensions | |
unsigned | activeDimension (unsigned d) const |
get dimension number from list of transformed dimensions | |
InternalFFT_t & | getEngine (void) |
access the internal FFT Engine | |
Precision_t & | getNormFact (void) |
get the FFT normalization factor | |
const Domain_t & | getDomain (void) const |
get our domain | |
bool | checkDomain (const Domain_t &dom1, const Domain_t &dom2) const |
compare indexes of two domains | |
bool | compressTemps (void) const |
do we compress temps? | |
Static Protected Attributes | |
static GuardCellSizes< Dim > | nullGC = GuardCellSizes<Dim>() |
null GuardCellSizes object for checking BareField arguments to transform |
FFT Base Class to do stuff that is independent of transform type
Definition at line 61 of file FFTBase.h.
|
Reimplemented in FFT< CCTransform, Dim, T >, FFT< CCTransform, 1U, T >, FFT< RCTransform, Dim, T >, FFT< RCTransform, 1U, T >, FFT< SineTransform, Dim, T >, and FFT< SineTransform, 1U, T >. |
|
|
|
|
|
|
|
|
|
|
|
inputs are enum of transform type, domain of input Field, which dimensions to transform, and whether to compress temporary Fields when not in use
|
|
|
|
|
|
get dimension number from list of transformed dimensions get dimension number from list of transformed dimensions
Definition at line 264 of file FFTBase.h. References PAssert. |
|
compare indexes of two domains
|
|
do we compress temps?
|
|
translate direction name string into dimension number Translate direction name string into dimension number
|
|
get our domain
|
|
access the internal FFT Engine
|
|
get the FFT normalization factor
Definition at line 169 of file FFTBase.h. Referenced by FFT< CCTransform, Dim, T >::FFT(). |
|
query number of transform dimensions
Definition at line 160 of file FFTBase.h. Referenced by FFT< SineTransform, Dim, T >::~FFT(), FFT< RCTransform, Dim, T >::~FFT(), and FFT< CCTransform, Dim, T >::~FFT(). |
|
Allow the user to name the transform directions, for code clarity.
Definition at line 221 of file FFTBase.h. References PAssert. |
|
Set the FFT normalization factor (to something other than the default)
|
|
query whether this dimension is to be transformed query whether this dimension is to be transformed
Definition at line 250 of file FFTBase.h. References PAssert. |
|
Utility to determine the number of vnodes to use in temporary transpose fields; this is either -1, or a limited number set on the command line
|
|
I/O for FFT object
Definition at line 103 of file FFTBase.cpp. References CT, endl(), TAU_FFT, TAU_IO, TAU_PROFILE, and TAU_TYPE_STRING. Here is the call graph for this function: |
|
null GuardCellSizes object for checking BareField arguments to transform ! These members are used by the derived FFT classes |