11 #ifndef PANZER_ZEROCONTRIBUTEDFIELD_IMPL_HPP
12 #define PANZER_ZEROCONTRIBUTEDFIELD_IMPL_HPP
21 template<
typename EvalT,
typename Traits>
24 const std::string& fieldName,
28 using Teuchos::rcpFromRef;
29 field_ = MDField<ScalarT>(fieldName, rcpFromRef(layout));
30 this->addEvaluatedField(field_);
31 this->setName(
"ZeroContributedField: " + field_.fieldTag().identifier());
39 template<
typename EvalT,
typename Traits>
50 #endif // PANZER_ZEROCONTRIBUTEDFIELD_IMPL_HPP
void evaluateFields(typename Traits::EvalData d) override
Evaluate the field.
typename EvalT::ScalarT ScalarT
The scalar data type.
ZeroContributedField(const std::string &fieldName, PHX::DataLayout &layout)
Constructor.