1#ifndef included_AMP_ScalarZAxisMap
2#define included_AMP_ScalarZAxisMap
4#include "AMP/operators/map/Map3to1to3.h"
5#include "AMP/operators/map/Map3to1to3Parameters.h"
41 explicit ScalarZAxisMap( std::shared_ptr<const AMP::Operator::OperatorParameters> params );
47 std::string
type()
const override {
return "ScalarZAxisMap"; }
52 const std::shared_ptr<AMP::Mesh::Mesh>,
57 const std::shared_ptr<AMP::Mesh::Mesh>,
59 const std::map<double, double> & )
override;
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
A class used to iterate over elements in a Mesh.
For problems with a great deal of symmetry, it is possible to move data from one mesh to another by g...
std::shared_ptr< AMP::Operator::Operator > shared_ptr
A class used to reduce a 3D problem to 1D, transfer the solution, and map back to 3D.
static const int CommTagBase
The base tag used in communication.
virtual ~ScalarZAxisMap()
Destructor.
virtual std::multimap< double, double > buildMap(AMP::LinearAlgebra::Vector::const_shared_ptr, const std::shared_ptr< AMP::Mesh::Mesh >, const AMP::Mesh::MeshIterator &) override
A virtual method to construct the map from a vector.
static bool validMapType(const std::string &s)
Returns true if MapType = "ScalarZAxis".
ScalarZAxisMapParameters Parameters
Typedef to identify the parameters class of this operator.
std::string type() const override
Return the name of the operator.
ScalarZAxisMap(std::shared_ptr< const AMP::Operator::OperatorParameters > params)
Standard constructor.
virtual void buildReturn(AMP::LinearAlgebra::Vector::shared_ptr, const std::shared_ptr< AMP::Mesh::Mesh >, const AMP::Mesh::MeshIterator &, const std::map< double, double > &) override
A virtual method to construct a vector from a map.
AMP::Operator::Map3to1to3Parameters ScalarZAxisMapParameters