PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Classes | Namespaces | Functions
fftw_utilities.hh File Reference
#include <vector>
#include <complex>
#include <fftw3.h>

Go to the source code of this file.

Classes

class  pism::FFTWArray
 

Namespaces

 pism
 
 pism::petsc
 Wrappers for some PETSc objects (these wrappers simplify memory management).
 

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...