PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
#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.