Advanced Multi-Physics (AMP)
On-Line Documentation
ScalarN2GZAxisMap.h
Go to the documentation of this file.
1#ifndef included_AMP_ScalarN2GZAxisMap
2#define included_AMP_ScalarN2GZAxisMap
3
4#include "AMP/discretization/createLibmeshElements.h"
5#include "AMP/operators/map/Map3to1to3.h"
6#include "AMP/operators/map/Map3to1to3Parameters.h"
7
8
9namespace AMP::Operator {
10
11
13
14
24{
25public:
30 static bool validMapType( const std::string &s );
31
35
37 static const int CommTagBase = 20000;
38
42 explicit ScalarN2GZAxisMap( std::shared_ptr<const AMP::Operator::OperatorParameters> params );
43
46
48 std::string type() const override { return "ScalarN2GZAxisMap"; }
49
50protected:
51 // Implimented buildMap routine
52 virtual std::multimap<double, double> buildMap( AMP::LinearAlgebra::Vector::const_shared_ptr,
53 const std::shared_ptr<AMP::Mesh::Mesh>,
54 const AMP::Mesh::MeshIterator & ) override;
55
56 // Implimented buildReturn routine
58 const std::shared_ptr<AMP::Mesh::Mesh>,
60 const std::map<double, double> & ) override;
61
62 // Function to return the coordinates of the gauss points
64
65 // Internal vector with the z-coordinates of the gauss points
68
69private:
71};
72
73
74} // namespace AMP::Operator
75
76#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.
ScalarN2GZAxisMap(std::shared_ptr< const AMP::Operator::OperatorParameters > params)
Standard constructor.
AMP::LinearAlgebra::Vector::const_shared_ptr d_z_coord2
virtual ~ScalarN2GZAxisMap()
Destructor.
std::string type() const override
Return the name of the operator.
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::LinearAlgebra::Vector::const_shared_ptr d_z_coord1
Discretization::createLibmeshElements libmeshElements
static const int CommTagBase
The base tag used in communication.
AMP::LinearAlgebra::Vector::const_shared_ptr getGaussPoints(const AMP::Mesh::MeshIterator &)
ScalarN2GZAxisMapParameters Parameters
Typedef to identify the parameters class of this operator.
static bool validMapType(const std::string &s)
Returns true if MapType = "ScalarN2GZAxis".
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.
AMP::Operator::Map3to1to3Parameters ScalarN2GZAxisMapParameters



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