9 const double fftw::twopi=2.0*acos(-1.0);
12 unsigned int fftw::effort=FFTW_MEASURE;
13 const char *fftw::WisdomName=
"wisdom3.txt";
14 unsigned int fftw::maxthreads=1;
15 double fftw::testseconds=0.2;
19 const char *fftw::oddshift=
"Shift is not implemented for odd nx";
21 "constructor and call must be both in place or both out of place";
33 static bool Wise=
false;
36 ifWisdom.open(fftw::WisdomName);
38 wisdom << ifWisdom.rdbuf();
40 const string&
s=wisdom.str();
41 fftw_import_wisdom_from_string(s.c_str());
49 ofWisdom.open(fftw::WisdomName);
50 char *wisdom=fftw_export_wisdom_to_string();
59 fftw::effort |= FFTW_WISDOM_ONLY;
62 fftw::effort &= ~FFTW_WISDOM_ONLY;
70 ThreadBase::ThreadBase() {threads=fftw::maxthreads;}
vector< t2list > out
output of the algorithm: a list of clusters
virtual fftw_plan Plan(Complex *, Complex *)
std::complex< double > Complex
fftw_plan Planner(fftw *F, Complex *in, Complex *out)
std::map< keytype1, threaddata, keyless1 > Table
unsigned int defaultmpithreads