11#include <pspc/field/RField.h>
12#include <pspc/field/RFieldDft.h>
13#include <pscf/math/IntVec.h>
167 {
return meshDimensions_; }
171 extern template class FFT<1>;
172 extern template class FFT<2>;
173 extern template class FFT<3>;
An IntVec<D, T> is a D-component vector of elements of integer type T.
Fourier transform wrapper for real data.
void forwardTransform(RField< D > const &in, RFieldDft< D > &out) const
Compute forward (real-to-complex) Fourier transform.
virtual ~FFT()
Destructor.
FFT()
Default constructor.
IntVec< D > const & meshDimensions() const
Return the dimensions of the grid for which this was allocated.
void inverseTransformSafe(RFieldDft< D > const &in, RField< D > &out) const
Compute inverse (complex-to-real) Fourier transform without destroying input.
void inverseTransform(RFieldDft< D > &in, RField< D > &out) const
Compute inverse (complex-to-real) Fourier transform.
bool isSetup() const
Has this FFT object been setup?
void setup(IntVec< D > const &meshDimensions)
Setup grid dimensions, plans and work space.
Fourier transform of a real field on an FFT mesh.
Field of real double precision values on an FFT mesh.
File containing preprocessor macros for error handling.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.