Advanced Multi-Physics (AMP)
On-Line Documentation
ManagedThyraVector.h
Go to the documentation of this file.
1#ifndef included_AMP_ManagedThyraVector
2#define included_AMP_ManagedThyraVector
3
4// AMP includes
5#include "AMP/vectors/trilinos/thyra/ThyraVector.h"
6
7
8namespace AMP::LinearAlgebra {
9
10
26{
27public:
32
35
36 // These methods are adequately documented in a base class
37 std::string type() const override;
38
39 std::unique_ptr<Vector> rawClone() const override;
40 void swapVectors( Vector &other ) override;
42
43 std::shared_ptr<Vector> getManagedVec() override { return shared_from_this(); }
44 std::shared_ptr<const Vector> getManagedVec() const override { return shared_from_this(); }
45};
46
47} // namespace AMP::LinearAlgebra
48
49#endif
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...
Definition ThyraVector.h:29
Abstraction of a discrete Vector in a linear simulation.
Definition Vector.h:54
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
Definition Vector.h:60
std::shared_ptr< const Vector > const_shared_ptr
Definition Vector.h:65



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