1#ifndef included_AMP_SubchannelToPointMapMap
2#define included_AMP_SubchannelToPointMapMap
4#include "AMP/mesh/Mesh.h"
5#include "AMP/operators/Operator.h"
6#include "AMP/operators/subchannel/SubchannelPhysicsModel.h"
7#include "AMP/operators/subchannel/SubchannelToPointMapParameters.h"
8#include "AMP/utils/AMP_MPI.h"
28 std::string
type()
const override {
return "SubchannelToPointMap"; }
45 return std::shared_ptr<AMP::LinearAlgebra::Variable>(
Provides C++ wrapper around MPI routines.
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
std::shared_ptr< AMP::Operator::Operator > shared_ptr
A class used to map subchannel properties to points.
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr f) override
Perform the map.
std::shared_ptr< SubchannelPhysicsModel > d_subchannelPhysicsModel
std::vector< double > d_point_x
virtual ~SubchannelToPointMap()
Deconstructor.
std::vector< double > d_subchannel_x
std::vector< double > d_point_z
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.
std::string type() const override
Return the name of the operator.
std::vector< double > d_subchannel_y
std::vector< double > d_subchannel_z
SubchannelToPointMap(std::shared_ptr< const SubchannelToPointMapParameters > params)
Default constructor.
std::vector< double > d_point_y
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
std::shared_ptr< AMP::LinearAlgebra::Variable > d_outputVar