Advanced Multi-Physics (AMP)
On-Line Documentation
Functions
PETSC Namespace Reference

Functions

std::shared_ptr< PetscRandomgenPetscRandom (const AMP::AMP_MPI &comm)
 
std::shared_ptr< AMP::LinearAlgebra::MatrixgetAMP (Mat t)
 
std::shared_ptr< AMP::LinearAlgebra::VectorgetAMP (Vec t)
 
Mat getMat (std::shared_ptr< AMP::LinearAlgebra::Matrix > m)
 
Vec getVec (std::shared_ptr< AMP::LinearAlgebra::Vector > v)
 
PetscErrorCode matDestroy (Mat *mat)
 
PetscErrorCode randomDestroy (PetscRandom *random)
 
void reset_vec_ops (Vec t)
 
PetscErrorCode vecDestroy (Vec *v)
 

Function Documentation

◆ genPetscRandom()

std::shared_ptr< PetscRandom > PETSC::genPetscRandom ( const AMP::AMP_MPI comm)

◆ getAMP() [1/2]

std::shared_ptr< AMP::LinearAlgebra::Matrix > PETSC::getAMP ( Mat  t)

◆ getAMP() [2/2]

std::shared_ptr< AMP::LinearAlgebra::Vector > PETSC::getAMP ( Vec  t)

◆ getMat()

Mat PETSC::getMat ( std::shared_ptr< AMP::LinearAlgebra::Matrix m)

◆ getVec()

Vec PETSC::getVec ( std::shared_ptr< AMP::LinearAlgebra::Vector v)

◆ matDestroy()

PetscErrorCode PETSC::matDestroy ( Mat mat)

◆ randomDestroy()

PetscErrorCode PETSC::randomDestroy ( PetscRandom random)

◆ reset_vec_ops()

void PETSC::reset_vec_ops ( Vec  t)

◆ vecDestroy()

PetscErrorCode PETSC::vecDestroy ( Vec v)



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