1#ifndef included_AMP_NodeToGaussPointOperator
2#define included_AMP_NodeToGaussPointOperator
4#include "AMP/discretization/createLibmeshElements.h"
5#include "AMP/operators/Operator.h"
17 std::string
type()
const override {
return "NodeToGaussPointOperator"; }
39 std::vector<std::vector<AMP::Mesh::MeshElementID>>
d_nodes;
41 std::vector<std::vector<double>>
d_phi;
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.
AMP::Mesh::MeshIterator d_iterator
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr f) override
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
std::shared_ptr< AMP::LinearAlgebra::Variable > d_NodalVariable
std::vector< std::vector< AMP::Mesh::MeshElementID > > d_nodes
bool d_UseSurfaceElements
std::string type() const override
Return the name of the operator.
std::vector< std::vector< double > > d_phi
std::vector< unsigned short int > d_N_quad
std::shared_ptr< AMP::LinearAlgebra::Variable > d_GaussPtVariable
Discretization::createLibmeshElements d_libmeshElements
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.
NodeToGaussPointOperator(std::shared_ptr< const OperatorParameters > params)
virtual ~NodeToGaussPointOperator()
std::shared_ptr< AMP::Operator::Operator > shared_ptr