PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
Makes sure that we call begin_access() and end_access() for all accessed array::Arrays. More...
#include <Array.hh>
Public Member Functions | |
AccessScope () | |
AccessScope (std::initializer_list< const PetscAccessible * > vecs) | |
AccessScope (const PetscAccessible &v) | |
~AccessScope () | |
void | add (const PetscAccessible &v) |
void | add (const std::vector< const PetscAccessible * > &vecs) |
Private Attributes | |
std::vector< const PetscAccessible * > | m_vecs |
Makes sure that we call begin_access() and end_access() for all accessed array::Arrays.