PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
#include <fftw_utilities.hh>
Public Member Functions | |
FFTWArray (fftw_complex *a, int Mx, int My, int i_offset, int j_offset) | |
FFTWArray (fftw_complex *a, int Mx, int My) | |
std::complex< double > & | operator() (int i, int j) |
Private Attributes | |
const int | m_My |
const int | m_i_offset |
const int | m_j_offset |
std::complex< double > * | m_array |
Template class for accessing the central part of an extended grid, i.e. PISM's grid surrounded by "padding" necessary to reduce artifacts coming from interpreting model inputs as periodic in space.
Allows accessing a 1D array using 2D indexing.
Definition at line 40 of file fftw_utilities.hh.