PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Namespaces | Functions
fftw_utilities.cc File Reference
#include <cstring>
#include "pism/util/fftw_utilities.hh"
#include "pism/util/petscwrappers/Vec.hh"

Go to the source code of this file.

Namespaces

 pism
 

Functions

std::vector< double > pism::fftfreq (int M, double normalization)
 
void pism::clear_fftw_array (fftw_complex *input, int Nx, int Ny)
 Fill input with zeros. More...
 
void pism::copy_fftw_array (fftw_complex *source, fftw_complex *destination, int Nx, int Ny)
 Copy source to destination. More...
 
void pism::set_real_part (petsc::Vec &input, double normalization, int Mx, int My, int Nx, int Ny, int i0, int j0, fftw_complex *output)
 
void pism::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. More...