11 #ifndef __Panzer_ResponseEvaluatorFactory_ExtremeValue_impl_hpp__
12 #define __Panzer_ResponseEvaluatorFactory_ExtremeValue_impl_hpp__
16 #include "PanzerDiscFE_config.hpp"
26 template <
typename EvalT,
typename LO,
typename GO>
36 template <
typename EvalT,
typename LO,
typename GO>
48 if(requiresCellExtreme_) {
49 std::string
field = (quadPointField_==
"" ? responseName : quadPointField_);
56 pl.
set(
"Extreme Name",prefix_+field);
57 pl.
set(
"Field Name",field);
59 pl.
set(
"Use Max",useMax_);
64 this->
template registerEvaluator<EvalT>(fm, eval);
72 std::string
field = (quadPointField_==
"" ? responseName : quadPointField_);
73 field = prefix_+
field;
83 this->
template registerEvaluator<EvalT>(fm, eval);
86 fm.template requireField<EvalT>(*eval->evaluatedFields()[0]);
90 template <
typename EvalT,
typename LO,
typename GO>
94 if( PHX::print<EvalT>()==PHX::print<panzer::Traits::Residual>() ||
95 PHX::print<EvalT>()==PHX::print<panzer::Traits::Tangent>()
99 if(PHX::print<EvalT>()==PHX::print<panzer::Traits::Jacobian>())
Object that contains information on the physics and discretization of a block of elements with the SA...
const panzer::CellData & cellData() const
ParameterList & set(std::string const &name, T &&value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void setRequiresDirichletAdjustment(bool b)
virtual bool typeSupported() const
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName) const
PHX::MDField< ScalarT, panzer::Cell, panzer::BASIS > field
A field to which we'll contribute, or in which we'll store, the result of computing this integral...
virtual void buildAndRegisterEvaluators(const std::string &responseName, PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &physicsBlock, const Teuchos::ParameterList &user_data) const