1#ifndef included_AMP_MapSurface
2#define included_AMP_MapSurface
4#include "AMP/operators/Operator.h"
5#include "AMP/operators/OperatorParameters.h"
6#include "AMP/operators/map/libmesh/Map1Dto3D.h"
7#include "AMP/operators/map/libmesh/Map3Dto1D.h"
8#include "AMP/vectors/Variable.h"
9#include "AMP/vectors/Vector.h"
20 explicit MapSurface( std::shared_ptr<const OperatorParameters> params );
23 std::string
type()
const override {
return "MapSurface"; }
28 std::shared_ptr<AMP::LinearAlgebra::Vector>
51 std::shared_ptr<AMP::LinearAlgebra::Vector>
gap1DVec;
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
AMP::LinearAlgebra::Vector::shared_ptr outVec
std::string type() const override
Return the name of the operator.
MapSurface(std::shared_ptr< const OperatorParameters > params)
std::shared_ptr< Map1Dto3D > mapTarget
std::shared_ptr< AMP::LinearAlgebra::Variable > gapVariable
virtual void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr f) override
std::shared_ptr< AMP::LinearAlgebra::Vector > gap1DVec
std::shared_ptr< Map3Dto1D > mapMaster
AMP::LinearAlgebra::Vector::const_shared_ptr inpVec
std::shared_ptr< AMP::LinearAlgebra::Variable > d_inpVariable
std::shared_ptr< AMP::LinearAlgebra::Variable > d_outVariable
std::shared_ptr< MapOperatorParameters > mapMasterParams
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
std::shared_ptr< AMP::LinearAlgebra::Vector > getBoundaryVector(const AMP::LinearAlgebra::Vector::shared_ptr &u)
void setVector(AMP::LinearAlgebra::Vector::shared_ptr scratchVec)
std::shared_ptr< MapOperatorParameters > mapTargetParams
std::shared_ptr< AMP::Operator::Operator > shared_ptr