43 #ifndef PANZER_ZEROCONTRIBUTEDFIELD_IMPL_HPP
44 #define PANZER_ZEROCONTRIBUTEDFIELD_IMPL_HPP
53 template<
typename EvalT,
typename Traits>
56 const std::string& fieldName,
57 PHX::DataLayout& layout)
60 using Teuchos::rcpFromRef;
61 field_ = MDField<ScalarT>(fieldName, rcpFromRef(layout));
62 this->addEvaluatedField(field_);
63 this->setName(
"ZeroContributedField: " + field_.fieldTag().identifier());
71 template<
typename EvalT,
typename Traits>
82 #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.