43 #ifndef PANZER_EVALUATOR_WEAKDIRICHLET_RESIDUAL_DECL_HPP
44 #define PANZER_EVALUATOR_WEAKDIRICHLET_RESIDUAL_DECL_HPP
46 #include "Phalanx_Evaluator_Macros.hpp"
47 #include "Phalanx_MDField.hpp"
61 template<
typename EvalT,
typename Traits>
65 public PHX::EvaluatorDerived<EvalT, Traits>
87 PHX::MDField<const ScalarT>
flux;
89 PHX::MDField<const ScalarT>
sigma;
90 PHX::MDField<const ScalarT>
dof;
91 PHX::MDField<const ScalarT>
value;
PHX::MDField< ScalarT > residual
WeakDirichletResidual(const Teuchos::ParameterList &p)
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
PHX::MDField< ScalarT > normal_dot_flux_plus_pen
PHX::MDField< const ScalarT > normal
void evaluateFields(typename Traits::EvalData d)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
PHX::MDField< const ScalarT > value
PHX::MDField< const ScalarT > dof
typename EvalT::ScalarT ScalarT
PHX::MDField< const ScalarT > flux
Evaluates a Weak Dirichlet BC residual contribution.
PHX::MDField< const ScalarT > sigma