43 #ifndef PANZER_CONSTANT_IMPL_HPP
44 #define PANZER_CONSTANT_IMPL_HPP
49 template<
typename EvalT,
typename Traits>
53 value( p.get<double>(
"Value") ),
54 constant( p.get<std::string>(
"Name"),
55 p.get< Teuchos::
RCP<PHX::DataLayout> >(
"Data Layout") )
59 std::string n =
"Constant: " +
constant.fieldTag().name();
64 template<
typename EvalT,
typename Traits>
72 this->utils.setFieldData(constant,fm);
74 constant.deep_copy(value);
78 template<
typename EvalT,
typename Traits>
Constant(const Teuchos::ParameterList &p)
PHX::MDField< ScalarT > constant
void evaluateFields(typename Traits::EvalData d)
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)