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