11 #ifndef PANZER_EVALUATOR_DotProduct_DECL_HPP
12 #define PANZER_EVALUATOR_DotProduct_DECL_HPP
14 #include "Phalanx_Evaluator_Macros.hpp"
15 #include "Phalanx_MDField.hpp"
32 template<
typename EvalT,
typename Traits>
80 template <
typename EvalT,
typename TraitsT>
83 const std::string & vecA,
84 const std::string & vecB,
86 const std::string & fieldMultiplier=
"");
PHX::MDField< const ScalarT > vec_a
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
typename EvalT::ScalarT ScalarT
Evaluates dot product at a set of points.
PHX::MDField< const ScalarT > vec_b
double multiplier
The scalar multiplier out in front of the integral ( ).
Teuchos::RCP< DotProduct< EvalT, TraitsT > > buildEvaluator_DotProduct(const std::string &resultName, const panzer::PointRule &pr, const std::string &vecA, const std::string &vecB, double multiplier=1, const std::string &fieldMultiplier="")
Build a dot product evaluator. Evaluates dot product at a set of points.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
DotProduct(const Teuchos::ParameterList &p)
void evaluateFields(typename Traits::EvalData d)
PHX::MDField< const ScalarT > multiplier_field
PHX::MDField< ScalarT > vec_a_dot_vec_b