43 #ifndef __Panzer_ResponseEvaluatorFactory_Probe_hpp__
44 #define __Panzer_ResponseEvaluatorFactory_Probe_hpp__
48 #include "PanzerDiscFE_config.hpp"
62 template <
typename EvalT,
typename LO,
typename GO>
69 int fieldComponent = 0,
71 const std::string & fieldName=
"",
74 bool applyDirichletToDerivative=
false)
79 TEUCHOS_ASSERT((linearObjFactory==Teuchos::null && globalIndexer==Teuchos::null) ||
80 (linearObjFactory!=Teuchos::null && globalIndexer!=Teuchos::null));
97 const std::vector<WorksetDescriptor> & wkstDesc)
const
140 template <
typename LO,
typename GO>
166 using Teuchos::rcp_dynamic_cast;
172 template <
typename T>
179 {
return build<panzer::Traits::Residual>(); }
182 {
return build<panzer::Traits::Jacobian>(); }
185 {
return build<panzer::Traits::Tangent>(); }
ResponseEvaluatorFactory_Probe(MPI_Comm comm, const Teuchos::Array< double > &point, int fieldComponent=0, int cubatureDegree=1, const std::string &fieldName="", 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)
Object that contains information on the physics and discretization of a block of elements with the SA...
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName, const std::vector< WorksetDescriptor > &wkstDesc) const
Teuchos::Array< double > point_
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 Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildTangentFactory() const
virtual ~ProbeResponse_Builder()
int getCubatureDegree() const
Accessor method for Cubature degree (can be used by sub classes)
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildValueFactory() const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linearObjFactory
virtual void setDerivativeInformation(const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &in_linearObjFactory)
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildDerivativeFactory() const
bool applyDirichletToDerivative
Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > build() const
virtual bool typeSupported() const
Teuchos::Array< double > point
#define TEUCHOS_ASSERT(assertion_test)
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer
virtual void buildAndRegisterEvaluators(const std::string &responseName, PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &physicsBlock, const Teuchos::ParameterList &user_data) const
bool applyDirichletToDerivative_
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linearObjFactory_
virtual ~ResponseEvaluatorFactory_Probe()