43 #ifndef PANZER_EVALUATOR_DotProduct_DECL_HPP
44 #define PANZER_EVALUATOR_DotProduct_DECL_HPP
46 #include "Phalanx_Evaluator_Macros.hpp"
47 #include "Phalanx_MDField.hpp"
64 template<
typename EvalT,
typename Traits>
68 public PHX::EvaluatorDerived<EvalT, Traits>
112 template <
typename EvalT,
typename TraitsT>
115 const std::string & vecA,
116 const std::string & vecB,
118 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