1#ifndef included_AMP_NullOperator
2#define included_AMP_NullOperator
6#include "AMP/operators/Operator.h"
7#include "AMP/operators/OperatorParameters.h"
9#include "AMP/vectors/Vector.h"
35 std::string
type()
const override {
return "NullOperator"; }
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
NullOperator(std::shared_ptr< const OperatorParameters > params)
Constructor.
std::string type() const override
Return the name of the operator.
NullOperator(void)
Default constructor.
virtual void apply(AMP::LinearAlgebra::Vector::const_shared_ptr, AMP::LinearAlgebra::Vector::shared_ptr v) override
Empty apply call.
virtual ~NullOperator()
Destructor.
std::shared_ptr< AMP::Operator::Operator > shared_ptr