43 #ifndef __Panzer_ResponseEvaluatorFactory_ExtremeValue_impl_hpp__
44 #define __Panzer_ResponseEvaluatorFactory_ExtremeValue_impl_hpp__
48 #include "PanzerDiscFE_config.hpp"
58 template <
typename EvalT,
typename LO,
typename GO>
68 template <
typename EvalT,
typename LO,
typename GO>
80 if(requiresCellExtreme_) {
81 std::string
field = (quadPointField_==
"" ? responseName : quadPointField_);
88 pl.
set(
"Extreme Name",prefix_+field);
89 pl.
set(
"Field Name",field);
91 pl.
set(
"Use Max",useMax_);
96 this->
template registerEvaluator<EvalT>(fm, eval);
104 std::string
field = (quadPointField_==
"" ? responseName : quadPointField_);
105 field = prefix_+
field;
115 this->
template registerEvaluator<EvalT>(fm, eval);
118 fm.template requireField<EvalT>(*eval->evaluatedFields()[0]);
122 template <
typename EvalT,
typename LO,
typename GO>
126 if( PHX::typeAsString<EvalT>()==PHX::typeAsString<panzer::Traits::Residual>() ||
127 PHX::typeAsString<EvalT>()==PHX::typeAsString<panzer::Traits::Tangent>()
131 if(PHX::typeAsString<EvalT>()==PHX::typeAsString<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 const &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