Loading [MathJax]/jax/input/TeX/config.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 64 of file Array.hh.


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