1#ifndef included_AMP_ManagedThyraVector
2#define included_AMP_ManagedThyraVector
5#include "AMP/vectors/trilinos/thyra/ThyraVector.h"
37 std::string
type()
const override;
39 std::unique_ptr<Vector>
rawClone()
const override;
Vector capable of returning an Epetra_Vector from a ManagedVector.
std::shared_ptr< const Vector > getManagedVec() const override
void swapVectors(Vector &other) override
Swap the data in this Vector for another.
std::unique_ptr< Vector > rawClone() const override
Allocate space in the same fashion as this
void copyVector(Vector::const_shared_ptr vec) override
ManagedThyraVector(Vector::shared_ptr alias)
Create a view of a vector.
std::shared_ptr< Vector > getManagedVec() override
virtual ~ManagedThyraVector()
Destructor.
std::string type() const override
Return the name of the vector.
ThyraVector is a bridge between AMP::LinearAlgebra::Vector and the Thyra::VectorDefaultBase data stru...
Abstraction of a discrete Vector in a linear simulation.
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
std::shared_ptr< Vector > shared_from_this()