43 #ifndef __Panzer_ResponseEvaluatorFactory_Functional_hpp__
44 #define __Panzer_ResponseEvaluatorFactory_Functional_hpp__
48 #include "PanzerDiscFE_config.hpp"
62 template <
typename EvalT,
typename LO,
typename GO>
68 bool applyDirichletToDerivative=
false)
88 const std::vector<WorksetDescriptor> & )
const
129 template <
typename LO,
typename GO>
147 template <
typename T>
153 {
return build<panzer::Traits::Residual>(); }
156 {
return build<panzer::Traits::Jacobian>(); }
159 {
return build<panzer::Traits::Tangent>(); }
161 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
163 {
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