PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches
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

- 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 39 of file Vec.hh.


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