Advanced Multi-Physics (AMP)
On-Line Documentation
Namespaces | Typedefs | Functions
PetscHelpers.h File Reference
#include "AMP/utils/AMP_MPI.h"
#include "AMP/utils/enable_shared_from_this.h"
#include "AMP/vectors/data/DataChangeListener.h"
#include <memory>
Include dependency graph for PetscHelpers.h:

Go to the source code of this file.

Namespaces

namespace  AMP
 
namespace  AMP::LinearAlgebra
 
namespace  PETSC
 

Typedefs

typedef struct _p_Mat * Mat
 
typedef int PetscErrorCode
 
typedef struct _p_PetscRandom * PetscRandom
 
typedef struct _p_Vec * Vec
 

Functions

std::shared_ptr< PetscRandomPETSC::genPetscRandom (const AMP::AMP_MPI &comm)
 
std::shared_ptr< AMP::LinearAlgebra::MatrixPETSC::getAMP (Mat t)
 
std::shared_ptr< AMP::LinearAlgebra::VectorPETSC::getAMP (Vec t)
 
Mat PETSC::getMat (std::shared_ptr< AMP::LinearAlgebra::Matrix > m)
 
Vec PETSC::getVec (std::shared_ptr< AMP::LinearAlgebra::Vector > v)
 
PetscErrorCode PETSC::matDestroy (Mat *mat)
 
PetscErrorCode PETSC::randomDestroy (PetscRandom *random)
 
void PETSC::reset_vec_ops (Vec t)
 
PetscErrorCode PETSC::vecDestroy (Vec *v)
 

Typedef Documentation

◆ Mat

typedef struct _p_Mat* Mat

Definition at line 15 of file PetscHelpers.h.

◆ PetscErrorCode

typedef int PetscErrorCode

Definition at line 13 of file PetscHelpers.h.

◆ PetscRandom

typedef struct _p_PetscRandom* PetscRandom

Definition at line 16 of file PetscHelpers.h.

◆ Vec

typedef struct _p_Vec* Vec

Definition at line 14 of file PetscHelpers.h.



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:41.
Comments on this page