PISM, A Parallel Ice Sheet Model  stable v2.0.4 committed by Constantine Khrulev on 2022-05-25 12:02:27 -0800
Public Member Functions | List of all members
pism::petsc::Vec Class Reference

#include <Vec.hh>

+ Inheritance diagram for pism::petsc::Vec:

Public Member Functions

 Vec ()
 
 Vec (::Vec v)
 
 ~Vec ()
 
- Public Member Functions inherited from pism::petsc::Wrapper< ::Vec >
 operator::Vec () const
 
::Vec get () const
 
::Vecrawptr ()
 

Additional Inherited Members

- Public Types inherited from pism::petsc::Wrapper< ::Vec >
typedef std::shared_ptr< WrapperPtr
 
typedef std::weak_ptr< WrapperWeakPtr
 
- Protected Member Functions inherited from pism::petsc::Wrapper< ::Vec >
 Wrapper ()
 
- Protected Attributes inherited from pism::petsc::Wrapper< ::Vec >
::Vec m_value
 

Detailed Description

Wrapper around PETSc's Vec. Simplifies memory management.

The constructor takes ownership of the Vec argument passed to it.

The destructor call VecDestroy().

Definition at line 36 of file Vec.hh.


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