#include <fftw++.h>
Public Member Functions | |
void | CheckAlign (Complex *p, const char *s) |
Complex * | CheckAlign (Complex *in, Complex *out, bool constructor=true) |
void | deNyquist (Complex *f) |
void | Execute (Complex *in, Complex *out, bool shift=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) |
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) |
fftw_plan | Plan (Complex *in, Complex *out) |
rcfft2d (unsigned int nx, unsigned int ny, Complex *out=NULL, unsigned int threads=maxthreads) | |
rcfft2d (unsigned int nx, unsigned int ny, double *in, Complex *out=NULL, unsigned int threads=maxthreads) | |
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) |
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) |
Private Attributes | |
unsigned int | nx |
unsigned int | ny |
|
inline |
Definition at line 1234 of file fftw++.h.
References out, and fftwpp::fftw::Setup().
|
inline |
Definition at line 1238 of file fftw++.h.
References out, and fftwpp::fftw::Setup().
|
inlineinherited |
Definition at line 281 of file fftw++.h.
Referenced by fftwpp::fftw::CheckAlign(), fftwpp::fftw::Setout(), and fftwpp::fftw::Setup().
|
inlineinherited |
Definition at line 349 of file fftw++.h.
References fftwpp::fftw::CheckAlign(), and out.
|
inline |
|
inlineprotectedinherited |
Reimplemented from fftwpp::fftw.
Definition at line 1249 of file fftw++.h.
References fftwpp::fftw::inplace, nx, ny, fftwpp::fftw::plan, fftwpp::fftw::Shift(), and fftwpp::fftw::threads.
Definition at line 414 of file fftw++.h.
References fftwpp::fftw::Execute(), out, and fftwpp::fftw::Setout().
Referenced by fftwpp::fftw::fft(), RdStationSignalReconstructor::RdStationSignalReconstructor::FitAnalyticSignal(), utl::FFTDataContainerAlgorithm::HilbertTransform(), RdStationSignalReconstructor::SignalObjectiveFunction::operator()(), fftwpp::fftw::time(), utl::FFTDataContainer< C, T, F >::UpdateFrequencySpectrum(), and utl::FFTDataContainer< C, T, F >::UpdateTimeSeries().
|
inlineinherited |
Definition at line 419 of file fftw++.h.
References fftwpp::fftw::fft(), and out.
|
inlineinherited |
Definition at line 423 of file fftw++.h.
References fftwpp::fftw::fft().
Definition at line 427 of file fftw++.h.
References fftwpp::fftw::Execute(), out, and fftwpp::fftw::Setout().
Referenced by fftwpp::fftw::fft0().
|
inlineinherited |
Definition at line 432 of file fftw++.h.
References fftwpp::fftw::fft0(), and out.
|
inlineinherited |
Definition at line 436 of file fftw++.h.
References fftwpp::fftw::fft0().
|
inlineinherited |
Definition at line 473 of file fftw++.h.
References fftwpp::fftw::fftNormalized().
|
inlinevirtualinherited |
Definition at line 455 of file fftw++.h.
References fftwpp::fftw::Execute(), fftwpp::fftw::Normalize(), out, and fftwpp::fftw::Setout().
Referenced by fftwpp::fftw::fft0Normalized(), and fftwpp::fftw::fftNormalized().
|
inlineinherited |
Definition at line 462 of file fftw++.h.
References fftwpp::fftw::Execute(), fftwpp::fftw::Normalize(), out, and fftwpp::fftw::Setout().
|
inlineinherited |
Definition at line 468 of file fftw++.h.
References fftwpp::fftw::fftNormalized().
|
inlineinherited |
Definition at line 494 of file fftw++.h.
References fftwpp::fftw::Execute(), fftwpp::fftw::Normalize(), out, and fftwpp::fftw::Setout().
|
inlinevirtualinherited |
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 fftwpp::fftw::Setup().
|
inlineinherited |
Definition at line 127 of file fftw++.h.
References fftwpp::ThreadBase::innerthreads, and fftwpp::ThreadBase::threads.
|
inlineinherited |
|
inlineinherited |
Definition at line 440 of file fftw++.h.
References fftwpp::fftw::doubles, and fftwpp::fftw::norm.
Referenced by fftwpp::fftw::fftNormalized().
|
inlineinherited |
Definition at line 448 of file fftw++.h.
References fftwpp::fftw::doubles, and fftwpp::fftw::norm.
|
inlineinherited |
Definition at line 478 of file fftw++.h.
References fftwpp::fftw::norm, and G4StationSimulatorOG::p.
Reimplemented from fftwpp::fftw.
Definition at line 1244 of file fftw++.h.
References fftwpp::fftw::effort, nx, and ny.
|
inlinestaticinherited |
Definition at line 292 of file fftw++.h.
References fftwpp::fftw::threads.
Referenced by fftwpp::fftw::Setup(), and fftwpp::Transpose::Transpose().
Definition at line 405 of file fftw++.h.
References fftwpp::fftw::CheckAlign(), exit, fftwpp::inout, fftwpp::fftw::inplace, and out.
Referenced by fftwpp::fftw::fft(), fftwpp::fftw::fft0(), and fftwpp::fftw::fftNormalized().
|
inlineinherited |
Definition at line 361 of file fftw++.h.
References fftwpp::fftw::CheckAlign(), utils::ComplexAlign(), data, Array::deleteAlign(), fftwpp::fftw::doubles, fftwpp::fftw::inplace, fftwpp::fftw::lookup(), fftwpp::fftw::maxthreads, fftwpp::threaddata::mean, fftwpp::fftw::noplan(), out, fftwpp::fftw::plan, fftwpp::fftw::planThreads(), fftwpp::threaddata::stdev, fftwpp::fftw::store(), fftwpp::threaddata::threads, fftwpp::fftw::threads, fftwpp::fftw::Threads(), and fftwpp::fftw::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(), rcfft2d(), fftwpp::rcfft3d::rcfft3d(), and fftwpp::fftw::Setup().
|
inlineinherited |
Definition at line 393 of file fftw++.h.
References fftwpp::fftw::Setup().
|
inlineinherited |
Definition at line 397 of file fftw++.h.
References out, and fftwpp::fftw::Setup().
|
inlinestaticinherited |
Definition at line 182 of file fftw++.h.
References exit, fftwpp::fftw::oddshift, and G4StationSimulatorOG::p.
Referenced by Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), and fftwpp::crfft3d::Execute().
|
inlinestaticinherited |
Definition at line 202 of file fftw++.h.
References exit, fftwpp::fftw::oddshift, and G4StationSimulatorOG::p.
|
inlinestaticinherited |
Definition at line 221 of file fftw++.h.
References exit, fftwpp::fftw::oddshift, and G4StationSimulatorOG::p.
|
inlinestaticinherited |
Definition at line 244 of file fftw++.h.
References exit, fftwpp::fftw::oddshift, and G4StationSimulatorOG::p.
|
inlinevirtualinherited |
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 fftwpp::fftw::Setup().
|
inlineinherited |
Definition at line 124 of file fftw++.h.
References fftwpp::ThreadBase::threads.
|
inlinevirtualinherited |
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 fftwpp::fftw::threads.
Referenced by fftwpp::fftw::Setup(), and fftwpp::fftw::time().
|
inlineinherited |
Definition at line 299 of file fftw++.h.
References utils::statistics::add(), utils::statistics::count(), fftwpp::fftw::fft(), utils::statistics::mean(), fftwpp::fftw::plan, S, utils::statistics::stdev(), fftwpp::fftw::testseconds, fftwpp::fftw::threads, fftwpp::fftw::Threads(), and utils::totalseconds().
Referenced by fftwpp::fftw::Setup().
|
protectedinherited |
Definition at line 156 of file fftw++.h.
Referenced by fftwpp::fftw::Normalize(), and fftwpp::fftw::Setup().
|
staticinherited |
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(), 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().
|
protectedinherited |
Definition at line 162 of file fftw++.h.
Referenced by Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), fftwpp::crfft3d::Execute(), fftwpp::fftw::Setout(), and fftwpp::fftw::Setup().
|
staticinherited |
Definition at line 172 of file fftw++.h.
Referenced by fftwpp::fftwblock< fftw_complex, fftw_complex >::fftwblock(), and fftwpp::fftw::Setup().
|
protectedinherited |
Definition at line 159 of file fftw++.h.
Referenced by fftwpp::fftw::Normalize().
|
private |
Definition at line 1231 of file fftw++.h.
Referenced by deNyquist(), Execute(), and Plan().
|
private |
Definition at line 1232 of file fftw++.h.
Referenced by deNyquist(), Execute(), and Plan().
Definition at line 179 of file fftw++.h.
Referenced by fftwpp::fftw::Shift().
|
protectedinherited |
Definition at line 161 of file fftw++.h.
Referenced by fftwpp::fftw::Execute(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Execute(), fftwpp::rcfft1d::Execute(), fftwpp::crfft1d::Execute(), fftwpp::fft2d::Execute(), Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), fftwpp::crfft3d::Execute(), fftwpp::fftwblock< fftw_complex, fftw_complex >::fftwblock(), fftwpp::fftw::Setup(), fftwpp::fftw::time(), and fftwpp::fftw::~fftw().
|
protectedinherited |
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().
|
staticinherited |
Definition at line 173 of file fftw++.h.
Referenced by fftwpp::fftw::time().
|
protectedinherited |
Definition at line 158 of file fftw++.h.
Referenced by Execute(), fftwpp::crfft2d::Execute(), fftwpp::rcfft3d::Execute(), fftwpp::crfft3d::Execute(), fftwpp::fftwblock< fftw_complex, fftw_complex >::fftwblock(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Plan(), fftwpp::fftw::planThreads(), fftwpp::fftw::Setup(), fftwpp::fftw::Threads(), fftwpp::fftwblock< fftw_complex, fftw_complex >::Threads(), and fftwpp::fftw::time().
|
staticprotectedinherited |
|
staticinherited |