19 template <
unsigned Dim,
class T>
26 template <
unsigned Dim,
class T>
29 const bool transformTheseDims[
Dim],
bool compressTemps)
30 : transformType_m(transform),
32 compressTempFields_m(compressTemps)
40 for (d=0; d<
Dim; ++d) {
56 template <
unsigned Dim,
class T>
60 : transformType_m(transform),
62 compressTempFields_m(compressTemps)
70 for (
unsigned d=0; d<
Dim; d++) {
81 template <
unsigned Dim,
class T>
87 out <<
"---------------FFT Object Dump Begin-------------------" <<
std::endl;
89 out <<
"Map of transform direction names:" <<
std::endl;
90 std::map<char*,unsigned>::const_iterator mi, m_end = directions_m.end();
91 for (mi = directions_m.begin(); mi != m_end; ++mi)
92 out <<
"[" << (*mi).first <<
"," << (*mi).second <<
"]" << std::endl;
96 out <<
"Transform dimensions: ";
97 for (
unsigned d=0; d<
Dim; ++d) {
98 out <<
"dim " << d <<
" = ";
99 if (transformDims_m[d])
105 out <<
"Input Field domain = " << Domain_m <<
std::endl;
106 out <<
"---------------FFT Object Dump End---------------------" <<
std::endl;
unsigned * activeDims_m
Stores the numbers of these dims (0,1,2).
bool transformDims_m[Dim]
Indicates which dimensions are transformed.
Inform & endl(Inform &inf)
void write(std::ostream &out) const
std::string getTransformType(unsigned int i)
character strings for transform types
unsigned nTransformDims_m
Stores the number of dims to be transformed.