#include <fftw++.h>
Public Member Functions | |
void | CheckAlign (Complex *p, const char *s) |
Complex * | CheckAlign (Complex *in, Complex *out, bool constructor=true) |
virtual void | Execute (Complex *in, Complex *out, bool=false) |
void | fft (Complex *in, Complex *out=NULL) |
void | fft (double *in, Complex *out=NULL) |
void | fft (Complex *in, double *out) |
void | fft0 (Complex *in, Complex *out=NULL) |
void | fft0 (double *in, Complex *out=NULL) |
void | fft0 (Complex *in, double *out) |
template<class I , class O > | |
void | fft0Normalized (I in, O out) |
virtual void | fftNormalized (Complex *in, Complex *out=NULL, bool shift=false) |
void | fftNormalized (Complex *in, double *out, bool shift=false) |
void | fftNormalized (double *in, Complex *out, bool shift=false) |
template<class I , class O > | |
void | fftNormalized (unsigned int nx, unsigned int M, size_t ostride, size_t odist, I *in, O *out=NULL, bool shift=false) |
fftw () | |
fftw (unsigned int doubles, int sign, unsigned int threads, unsigned int n=0) | |
virtual threaddata | lookup (bool, unsigned int) |
void | multithread (unsigned int nx) |
void | noplan () |
void | Normalize (Complex *out) |
void | Normalize (double *out) |
template<class O > | |
void | Normalize (unsigned int nx, unsigned int M, size_t ostride, size_t odist, O *out) |
virtual fftw_plan | Plan (Complex *, Complex *) |
Complex * | Setout (Complex *in, Complex *out) |
threaddata | Setup (Complex *in, Complex *out=NULL) |
threaddata | Setup (Complex *in, double *out) |
threaddata | Setup (double *in, Complex *out=NULL) |
virtual void | store (bool, const threaddata &) |
void | Threads (unsigned int nthreads) |
virtual unsigned int | Threads () |
threaddata | time (fftw_plan plan1, fftw_plan planT, Complex *in, Complex *out, unsigned int Threads) |
virtual | ~fftw () |
Static Public Member Functions | |
static void | planThreads (unsigned int) |
static void | Shift (Complex *data, unsigned int nx, unsigned int ny, unsigned int) |
static void | Shift (double *data, unsigned int nx, unsigned int ny, unsigned int) |
static void | Shift (Complex *data, unsigned int nx, unsigned int ny, unsigned int nz, unsigned int) |
static void | Shift (double *data, unsigned int nx, unsigned int ny, unsigned int nz, unsigned int) |
Static Public Attributes | |
static unsigned int | effort =FFTW_MEASURE |
static unsigned int | maxthreads =1 |
static const char * | oddshift ="Shift is not implemented for odd nx" |
static fftw_plan(* | planner )(fftw *f, Complex *in, Complex *out) =Planner |
static double | testseconds =0.2 |
static const char * | WisdomName ="wisdom3.txt" |
Protected Member Functions | |
unsigned int | Dist (unsigned int n, size_t stride, size_t dist) |
Protected Attributes | |
unsigned int | doubles |
unsigned int | innerthreads |
bool | inplace |
double | norm |
fftw_plan | plan |
int | sign |
unsigned int | threads |
Static Protected Attributes | |
static const double | twopi =2.0*acos(-1.0) |
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 281 of file fftw++.h.
Referenced by CheckAlign(), Setout(), and Setup().
Definition at line 349 of file fftw++.h.
References CheckAlign(), and out.
|
inlineprotected |
Reimplemented in fftwpp::crfft3d, fftwpp::rcfft3d, fftwpp::crfft2d, fftwpp::rcfft2d, fftwpp::fft2d, fftwpp::crfft1d, fftwpp::rcfft1d, fftwpp::fftwblock< I, O >, fftwpp::fftwblock< double, fftw_complex >, fftwpp::fftwblock< fftw_complex, double >, and fftwpp::fftwblock< fftw_complex, fftw_complex >.
Definition at line 401 of file fftw++.h.
References plan.
Referenced by fft(), fft0(), and fftNormalized().
Definition at line 414 of file fftw++.h.
References Execute(), out, and Setout().
Referenced by fft(), RdStationSignalReconstructor::RdStationSignalReconstructor::FitAnalyticSignal(), utl::FFTDataContainerAlgorithm::HilbertTransform(), RdStationSignalReconstructor::SignalObjectiveFunction::operator()(), time(), utl::FFTDataContainer< C, T, F >::UpdateFrequencySpectrum(), and utl::FFTDataContainer< C, T, F >::UpdateTimeSeries().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 473 of file fftw++.h.
References fftNormalized().
|
inlinevirtual |
Definition at line 455 of file fftw++.h.
References Execute(), Normalize(), out, and Setout().
Referenced by fft0Normalized(), and fftNormalized().
|
inline |
|
inline |
Definition at line 468 of file fftw++.h.
References fftNormalized().
|
inline |
|
inlinevirtual |
Reimplemented in fftwpp::fft2d, fftwpp::mcrfft1d, fftwpp::mrcfft1d, fftwpp::crfft1d, fftwpp::rcfft1d, fftwpp::mfft1d, and fftwpp::fft1d.
Definition at line 344 of file fftw++.h.
Referenced by Setup().
|
inlineinherited |
Definition at line 127 of file fftw++.h.
References fftwpp::ThreadBase::innerthreads, and fftwpp::ThreadBase::threads.
|
inline |
|
inline |
Definition at line 440 of file fftw++.h.
Referenced by fftNormalized().
|
inline |
|
inline |
Definition at line 478 of file fftw++.h.
References norm, and G4StationSimulatorOG::p.
Reimplemented in fftwpp::crfft3d, fftwpp::rcfft3d, fftwpp::fft3d, fftwpp::crfft2d, fftwpp::rcfft2d, fftwpp::fft2d, fftwpp::crfft1d, fftwpp::rcfft1d, fftwpp::fftwblock< I, O >, fftwpp::fftwblock< double, fftw_complex >, fftwpp::fftwblock< fftw_complex, double >, fftwpp::fftwblock< fftw_complex, fftw_complex >, and fftwpp::fft1d.
Definition at line 279 of file fftw++.h.
Referenced by fftwpp::Planner().
|
inlinestatic |
Definition at line 292 of file fftw++.h.
References threads.
Referenced by Setup(), and fftwpp::Transpose::Transpose().
Definition at line 405 of file fftw++.h.
References CheckAlign(), exit, fftwpp::inout, inplace, and out.
Referenced by fft(), fft0(), and fftNormalized().
|
inline |
Definition at line 361 of file fftw++.h.
References CheckAlign(), utils::ComplexAlign(), data, Array::deleteAlign(), doubles, inplace, lookup(), maxthreads, fftwpp::threaddata::mean, noplan(), out, plan, planThreads(), fftwpp::threaddata::stdev, store(), fftwpp::threaddata::threads, threads, Threads(), and time().
Referenced by fftwpp::crfft1d::crfft1d(), fftwpp::crfft2d::crfft2d(), fftwpp::crfft3d::crfft3d(), fftwpp::fft1d::fft1d(), fftwpp::fft2d::fft2d(), fftwpp::fft3d::fft3d(), fftwpp::fftwblock< fftw_complex, fftw_complex >::fftwblock(), fftwpp::rcfft1d::rcfft1d(), fftwpp::rcfft2d::rcfft2d(), fftwpp::rcfft3d::rcfft3d(), and Setup().
|
inline |
|
inline |
|
inlinestatic |
Definition at line 182 of file fftw++.h.
References exit, oddshift, and G4StationSimulatorOG::p.
Referenced by fftwpp::rcfft2d::Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), and fftwpp::crfft3d::Execute().
|
inlinestatic |
Definition at line 202 of file fftw++.h.
References exit, oddshift, and G4StationSimulatorOG::p.
|
inlinestatic |
Definition at line 221 of file fftw++.h.
References exit, oddshift, and G4StationSimulatorOG::p.
|
inlinestatic |
Definition at line 244 of file fftw++.h.
References exit, oddshift, and G4StationSimulatorOG::p.
|
inlinevirtual |
Reimplemented in fftwpp::fft2d, fftwpp::mcrfft1d, fftwpp::mrcfft1d, fftwpp::crfft1d, fftwpp::rcfft1d, fftwpp::mfft1d, and fftwpp::fft1d.
Definition at line 347 of file fftw++.h.
Referenced by Setup().
|
inlineinherited |
Definition at line 124 of file fftw++.h.
References fftwpp::ThreadBase::threads.
|
inlinevirtual |
Reimplemented in fftwpp::fftwblock< I, O >, fftwpp::fftwblock< double, fftw_complex >, fftwpp::fftwblock< fftw_complex, double >, and fftwpp::fftwblock< fftw_complex, fftw_complex >.
Definition at line 177 of file fftw++.h.
References threads.
|
inline |
Definition at line 299 of file fftw++.h.
References utils::statistics::add(), utils::statistics::count(), fft(), utils::statistics::mean(), plan, S, utils::statistics::stdev(), testseconds, threads, Threads(), and utils::totalseconds().
Referenced by Setup().
|
protected |
Definition at line 156 of file fftw++.h.
Referenced by Normalize(), and Setup().
|
static |
Definition at line 171 of file fftw++.h.
Referenced by fftwpp::fft1d::Plan(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Plan(), fftwpp::rcfft1d::Plan(), fftwpp::crfft1d::Plan(), fftwpp::fft2d::Plan(), fftwpp::rcfft2d::Plan(), fftwpp::crfft2d::Plan(), fftwpp::fft3d::Plan(), fftwpp::rcfft3d::Plan(), fftwpp::crfft3d::Plan(), and fftwpp::Transpose::Transpose().
|
protectedinherited |
Definition at line 120 of file fftw++.h.
Referenced by fftwpp::ThreadBase::multithread().
|
protected |
Definition at line 162 of file fftw++.h.
Referenced by fftwpp::rcfft2d::Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), fftwpp::crfft3d::Execute(), Setout(), and Setup().
|
static |
Definition at line 172 of file fftw++.h.
Referenced by fftwpp::fftwblock< fftw_complex, fftw_complex >::fftwblock(), and Setup().
|
protected |
Definition at line 159 of file fftw++.h.
Referenced by Normalize().
|
static |
|
protected |
Definition at line 161 of file fftw++.h.
Referenced by Execute(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Execute(), fftwpp::rcfft1d::Execute(), fftwpp::crfft1d::Execute(), fftwpp::fft2d::Execute(), fftwpp::rcfft2d::Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), fftwpp::crfft3d::Execute(), fftwpp::fftwblock< fftw_complex, fftw_complex >::fftwblock(), Setup(), time(), and ~fftw().
|
protected |
Definition at line 157 of file fftw++.h.
Referenced by fftwpp::fft1d::Plan(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Plan(), fftwpp::fft2d::Plan(), and fftwpp::fft3d::Plan().
|
static |
|
protected |
Definition at line 158 of file fftw++.h.
Referenced by fftwpp::rcfft2d::Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), fftwpp::crfft3d::Execute(), fftwpp::fftwblock< fftw_complex, fftw_complex >::fftwblock(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Plan(), planThreads(), Setup(), Threads(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Threads(), and time().
|
staticprotected |
|
static |