1#ifndef included_AMP_VectorCopyOperator
2#define included_AMP_VectorCopyOperator
4#include "AMP/operators/Operator.h"
5#include "AMP/operators/VectorCopyOperatorParameters.h"
6#include "AMP/vectors/Vector.h"
18 std::string
type()
const override {
return "VectorCopyOperator"; }
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
std::shared_ptr< AMP::Operator::Operator > shared_ptr
std::shared_ptr< AMP::LinearAlgebra::Vector > d_copyVector
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
virtual void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr f) override
std::string type() const override
Return the name of the operator.
VectorCopyOperator(std::shared_ptr< const VectorCopyOperatorParameters > params)
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.
virtual ~VectorCopyOperator()
std::shared_ptr< AMP::LinearAlgebra::Variable > d_copyVariable