Advanced Multi-Physics (AMP)
On-Line Documentation
ScalarZAxisMap.h
Go to the documentation of this file.
1#ifndef included_AMP_ScalarZAxisMap
2#define included_AMP_ScalarZAxisMap
3
4#include "AMP/operators/map/Map3to1to3.h"
5#include "AMP/operators/map/Map3to1to3Parameters.h"
6
7
8namespace AMP::Operator {
9
10
12
13
23{
24public:
29 static bool validMapType( const std::string &s );
30
34
36 static const int CommTagBase = 20000;
37
41 explicit ScalarZAxisMap( std::shared_ptr<const AMP::Operator::OperatorParameters> params );
42
44 virtual ~ScalarZAxisMap();
45
47 std::string type() const override { return "ScalarZAxisMap"; }
48
49protected:
50 // Implemented buildMap routine
51 virtual std::multimap<double, double> buildMap( AMP::LinearAlgebra::Vector::const_shared_ptr,
52 const std::shared_ptr<AMP::Mesh::Mesh>,
53 const AMP::Mesh::MeshIterator & ) override;
54
55 // Implimented buildReturn routine
57 const std::shared_ptr<AMP::Mesh::Mesh>,
59 const std::map<double, double> & ) override;
60};
61
62
63} // namespace AMP::Operator
64
65#endif
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
Definition Vector.h:60
std::shared_ptr< const Vector > const_shared_ptr
Definition Vector.h:65
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...
Definition Map3to1to3.h:31
std::shared_ptr< AMP::Operator::Operator > shared_ptr
Definition Operator.h:29
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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page