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 | 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::Wrapper< ::Vec >
 operator::Vec () const
 
::Vec get () const
 
::Vec * rawptr ()
 

Additional Inherited Members

- Public Types inherited from pism::Wrapper< ::Vec >
typedef std::shared_ptr< WrapperPtr
 
typedef std::weak_ptr< WrapperWeakPtr
 
- Protected Member Functions inherited from pism::Wrapper< ::Vec >
 Wrapper ()
 
- Protected Attributes inherited from pism::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: