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 | |
CArray (T *array, int nrows, int ncols) | |
T & | operator() (int r, int c) |
T & | operator() (int r, int c) const |
std::array< int, 2 > | shape () const |
Private Attributes | |
T * | m_array |
int | m_nrows |
int | m_ncols |
Helper class wrapping a C-style 2D array using the row-major storage order. It is used to implement the interface required by connected_components::details::label().
Definition at line 55 of file connected_components_impl.hh.