11 #ifndef __Panzer_ResponseEvaluatorFactory_Functional_hpp__
12 #define __Panzer_ResponseEvaluatorFactory_Functional_hpp__
16 #include "PanzerDiscFE_config.hpp"
30 template <
typename EvalT,
typename LO,
typename GO>
36 bool applyDirichletToDerivative=
false)
56 const std::vector<WorksetDescriptor> & )
const
97 template <
typename LO,
typename GO>
115 template <
typename T>
121 {
return build<panzer::Traits::Residual>(); }
124 {
return build<panzer::Traits::Jacobian>(); }
127 {
return build<panzer::Traits::Tangent>(); }
129 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
131 {
return build<panzer::Traits::Hessian>(); }
void setDerivativeInformation(const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &in_linearObjFactory)
Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > build() const
virtual ~ResponseEvaluatorFactory_Functional()
Object that contains information on the physics and discretization of a block of elements with the SA...
FunctionalResponse_Builder()
bool requiresCellIntegral
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildTangentFactory() const
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildValueFactory() const
ResponseEvaluatorFactory_Functional(MPI_Comm comm, int cubatureDegree=1, bool requiresCellIntegral=true, const std::string &quadPointField="", const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &linearObjFactory=Teuchos::null, bool applyDirichletToDerivative=false)
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName, const std::vector< WorksetDescriptor > &) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual ~FunctionalResponse_Builder()
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linearObjFactory_
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildDerivativeFactory() const
std::string quadPointField
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName) const
bool applyDirichletToDerivative_
std::string quadPointField_
int getCubatureDegree() const
Accessor method for Cubature degree (can be used by sub classes)
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 > buildHessianFactory() const
bool applyDirichletToDerivative
virtual bool typeSupported() const
bool requiresCellIntegral_
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linearObjFactory