5#include "AMP/utils/AMP_MPI.h"
6#include "AMP/utils/enable_shared_from_this.h"
7#include "AMP/vectors/data/DataChangeListener.h"
14typedef struct _p_Vec *
Vec;
15typedef struct _p_Mat *
Mat;
50std::shared_ptr<AMP::LinearAlgebra::Vector>
getAMP(
Vec t );
51std::shared_ptr<AMP::LinearAlgebra::Matrix>
getAMP(
Mat t );
57Vec getVec( std::shared_ptr<AMP::LinearAlgebra::Vector> v );
58Mat getMat( std::shared_ptr<AMP::LinearAlgebra::Matrix> m );
struct _p_PetscRandom * PetscRandom
Provides C++ wrapper around MPI routines.
PetscErrorCode matDestroy(Mat *mat)
std::shared_ptr< AMP::LinearAlgebra::Vector > getAMP(Vec t)
Mat getMat(std::shared_ptr< AMP::LinearAlgebra::Matrix > m)
std::shared_ptr< PetscRandom > genPetscRandom(const AMP::AMP_MPI &comm)
Vec getVec(std::shared_ptr< AMP::LinearAlgebra::Vector > v)
PetscErrorCode vecDestroy(Vec *v)
PetscErrorCode randomDestroy(PetscRandom *random)
void reset_vec_ops(Vec t)