PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
|
#include <connected_components_impl.hh>
Public Member Functions | |
PISMArray (pism::array::Scalar &array) | |
~PISMArray () | |
double & | operator() (int r, int c) |
double & | operator() (int r, int c) const |
std::array< int, 2 > | shape () const |
Private Attributes | |
array::Scalar & | m_array |
int | m_nrows |
int | m_ncols |
int | m_r0 |
int | m_c0 |
Helper class wrapping pism::array::Scalar
to implement the interface required to use connected_components::details::label().
Does not own the wrapped array: make sure that the wrapped array outlives the wrapper to avoid a dangling reference.
Definition at line 86 of file connected_components_impl.hh.