PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
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: