Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Private Attributes | List of all members
AMP::LinearAlgebra::PetscVecDeleter Class Reference

Helper deleter class. More...

#include <PetscVectorFactory.h>

Public Member Functions

void operator() (Vec *ptr) const
 
 PetscVecDeleter (std::shared_ptr< AMP::LinearAlgebra::PetscVector > vec)
 

Private Attributes

std::shared_ptr< AMP::LinearAlgebra::PetscVectord_vec
 

Detailed Description

Helper deleter class.

Definition at line 18 of file PetscVectorFactory.h.

Constructor & Destructor Documentation

◆ PetscVecDeleter()

AMP::LinearAlgebra::PetscVecDeleter::PetscVecDeleter ( std::shared_ptr< AMP::LinearAlgebra::PetscVector vec)
inline

Definition at line 21 of file PetscVectorFactory.h.

Member Function Documentation

◆ operator()()

void AMP::LinearAlgebra::PetscVecDeleter::operator() ( Vec ptr) const
inline

Definition at line 22 of file PetscVectorFactory.h.

References d_vec.

Member Data Documentation

◆ d_vec

std::shared_ptr<AMP::LinearAlgebra::PetscVector> AMP::LinearAlgebra::PetscVecDeleter::d_vec
mutableprivate

Definition at line 29 of file PetscVectorFactory.h.

Referenced by operator()().


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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:43.
Comments on this page