1#ifndef included_AMP_MapOperator
2#define included_AMP_MapOperator
5#include "AMP/utils/Database.h"
9#include "AMP/operators/Operator.h"
10#include "AMP/operators/OperatorParameters.h"
11#include "AMP/operators/map/MapOperatorParameters.h"
12#include "AMP/vectors/Variable.h"
13#include "AMP/vectors/Vector.h"
35 auto myparams = std::dynamic_pointer_cast<const MapOperatorParameters>( params );
46 std::string
type()
const override {
return "MapOperator"; }
48 void reset( std::shared_ptr<const OperatorParameters> params )
override;
54 std::shared_ptr<AMP::LinearAlgebra::Variable>
emptyPointer;
62 std::shared_ptr<AMP::LinearAlgebra::Variable>
emptyPointer;
Provides C++ wrapper around MPI routines.
std::shared_ptr< AMP::Mesh::Mesh > d_MapMesh
virtual std::shared_ptr< AMP::LinearAlgebra::Variable > createOutputVariable(const std::string &, int)
unsigned int d_boundaryId
virtual std::shared_ptr< AMP::LinearAlgebra::Variable > createInputVariable(const std::string &, int)
void reset(std::shared_ptr< const OperatorParameters > params) override
std::string type() const override
Return the name of the operator.
MapOperator(std::shared_ptr< const OperatorParameters > params)
virtual void setOutputVariableName(const std::string &, int)
virtual void setInputVariableName(const std::string &, int)
std::shared_ptr< AMP::Operator::Operator > shared_ptr