Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
pism::connected_components::details::PISMArray Class Reference

#include <connected_components_impl.hh>

Public Member Functions

 PISMArray (pism::array::Scalar &array)
 
 ~PISMArray ()
 
doubleoperator() (int r, int c)
 
doubleoperator() (int r, int c) const
 
std::array< int, 2 > shape () const
 

Private Attributes

array::Scalarm_array
 
int m_nrows
 
int m_ncols
 
int m_r0
 
int m_c0
 

Detailed Description

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.


The documentation for this class was generated from the following file: