44 FFTWArray(fftw_complex *a,
int Mx,
int My,
int i_offset,
int j_offset);
47 FFTWArray(fftw_complex *a,
int Mx,
int My);
58 std::vector<double>
fftfreq(
int M,
double normalization);
64 void copy_fftw_array(fftw_complex *source, fftw_complex *destination,
int Nx,
int Ny);
77 fftw_complex *output);
FFTWArray(fftw_complex *a, int Mx, int My, int i_offset, int j_offset)
std::complex< double > * m_array
std::complex< double > & operator()(int i, int j)
void clear_fftw_array(fftw_complex *input, int Nx, int Ny)
Fill input with zeros.
void copy_fftw_array(fftw_complex *source, fftw_complex *destination, int Nx, int Ny)
Copy source to destination.
void get_real_part(fftw_complex *input, double normalization, int Mx, int My, int Nx, int Ny, int i0, int j0, petsc::Vec &output)
Get the real part of input and put it in output.
void set_real_part(petsc::Vec &input, double normalization, int Mx, int My, int Nx, int Ny, int i0, int j0, fftw_complex *output)
std::vector< double > fftfreq(int M, double normalization)