PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Public Member Functions | List of all members
pism::petsc::DM Class Reference

#include <DM.hh>

+ Inheritance diagram for pism::petsc::DM:

Public Member Functions

 DM (::DM dm)
 
 DM ()
 
 ~DM ()
 
- Public Member Functions inherited from pism::Wrapper< ::DM >
 operator::DM () const
 
::DM get () const
 
::DM * rawptr ()
 

Additional Inherited Members

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

Detailed Description

Wrapper around PETSc's DM. Simplifies memory management.

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

The destructor call DMDestroy().

Definition at line 37 of file DM.hh.


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