PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Public Member Functions | Private Attributes | List of all members
pism::array::AccessScope Class Reference

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
 

Detailed Description

Makes sure that we call begin_access() and end_access() for all accessed array::Arrays.

Definition at line 65 of file Array.hh.


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