43 #ifndef __Panzer_ResponseEvaluatorFactory_ExtremeValue_hpp__
44 #define __Panzer_ResponseEvaluatorFactory_ExtremeValue_hpp__
48 #include "PanzerDiscFE_config.hpp"
62 template <
typename EvalT,
typename LO,
typename GO>
68 bool requiresCellReduction=
true,
70 const std::string & quadPointField=
"",
73 bool applyDirichletToDerivative=
false,
74 std::string in_prefix=
"")
80 TEUCHOS_ASSERT((linearObjFactory==Teuchos::null && globalIndexer==Teuchos::null) ||
81 (linearObjFactory!=Teuchos::null && globalIndexer!=Teuchos::null));
98 const std::vector<WorksetDescriptor> & )
const
142 template <
typename LO,
typename GO>
169 using Teuchos::rcp_dynamic_cast;
175 template <
typename T>
181 {
return build<panzer::Traits::Residual>(); }
184 {
return build<panzer::Traits::Jacobian>(); }
187 {
return build<panzer::Traits::Tangent>(); }
189 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
194 {
return build<panzer::Traits::Hessian>(); }
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildDerivativeFactory() const
Object that contains information on the physics and discretization of a block of elements with the SA...
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildHessianFactory() const
virtual void setDerivativeInformation(const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &in_linearObjFactory)
ResponseEvaluatorFactory_ExtremeValue(MPI_Comm comm, int cubatureDegree=1, bool requiresCellReduction=true, bool useMax=true, const std::string &quadPointField="", const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &linearObjFactory=Teuchos::null, const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &globalIndexer=Teuchos::null, bool applyDirichletToDerivative=false, std::string in_prefix="")
virtual ~ExtremeValueResponse_Builder()
ExtremeValueResponse_Builder()
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildTangentFactory() const
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
int getCubatureDegree() const
Accessor method for Cubature degree (can be used by sub classes)
virtual bool typeSupported() const
Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > build() const
std::string quadPointField_
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linearObjFactory_
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linearObjFactory
bool applyDirichletToDerivative
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName) const
void setDerivativeInformation(const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &in_linearObjFactory, const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &in_globalIndexer)
virtual void buildAndRegisterEvaluators(const std::string &responseName, PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &physicsBlock, const Teuchos::ParameterList &user_data) const
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildValueFactory() const
virtual ~ResponseEvaluatorFactory_ExtremeValue()
#define TEUCHOS_ASSERT(assertion_test)
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName, const std::vector< WorksetDescriptor > &) const
std::string quadPointField
bool applyDirichletToDerivative_
bool requiresCellExtreme_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer