1#ifndef included_AMP_SecondOperator
2#define included_AMP_SecondOperator
4#include "AMP/operators/newFrozenVectorDesign/OnePointOperator.h"
5#include "AMP/vectors/MultiVariable.h"
22 std::string
type()
const override {
return "SecondOperator"; }
35 auto retVariable = std::make_shared<AMP::LinearAlgebra::MultiVariable>(
"MultiVariable" );
A description of the data in the vector.
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
virtual void reset(std::shared_ptr< const OperatorParameters > params)
std::shared_ptr< AMP::Operator::Operator > shared_ptr
std::shared_ptr< AMP::LinearAlgebra::Variable > d_secondaryVar
SecondOperator(std::shared_ptr< const OperatorParameters > params)
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr r) override
std::shared_ptr< AMP::LinearAlgebra::Variable > d_primaryVar
std::string type() const override
Return the name of the operator.
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.