1#ifndef included_AMP_TpetraVector
2#define included_AMP_TpetraVector
4#include "AMP/vectors/Vector.h"
7#include "Tpetra_Map_decl.hpp"
8#include "Tpetra_Vector_decl.hpp"
A class that manages an Tpetra::Vector.
~TpetraVector()
Destructor.
const Tpetra::Vector & getTpetra_Vector() const
Obtain Tpetra::Vector for use in Trilinos routines.
std::shared_ptr< const Vector > getManagedVec() const
static std::shared_ptr< TpetraVector > view(Vector::shared_ptr vec)
Obtain a view of a vector with an Tpetra::Vector wrapper.
Tpetra::Vector & getTpetra_Vector()
Obtain Tpetra::Vector for use in Trilinos routines.
std::shared_ptr< Vector > d_AMP
const Tpetra::Vector & getNativeVec() const
std::shared_ptr< Tpetra::Vector<> > d_tpetra
TpetraVector(std::shared_ptr< Vector >)
static std::shared_ptr< const TpetraVector > constView(Vector::const_shared_ptr vec)
Obtain a view of a vector with an Tpetra::Vector wrapper.
Tpetra::Vector & getNativeVec()
std::shared_ptr< Vector > getManagedVec()
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
#define DISABLE_WARNINGS
Re-enable warnings.
#define ENABLE_WARNINGS
Suppress all warnings.