Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Functions

std::vector< doublepism::fftfreq (int M, double normalization)
 
void pism::clear_fftw_array (fftw_complex *input, int Nx, int Ny)
 Fill input with zeros.
 
void pism::copy_fftw_array (fftw_complex *source, fftw_complex *destination, int Nx, int Ny)
 Copy source to destination.
 
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.