11 #ifndef __Panzer_ResponseEvaluatorFactory_Probe_hpp__
12 #define __Panzer_ResponseEvaluatorFactory_Probe_hpp__
16 #include "PanzerDiscFE_config.hpp"
30 template <
typename EvalT,
typename LO,
typename GO>
37 int fieldComponent = 0,
39 const std::string & fieldName=
"",
42 bool applyDirichletToDerivative=
false)
47 TEUCHOS_ASSERT((linearObjFactory==Teuchos::null && globalIndexer==Teuchos::null) ||
48 (linearObjFactory!=Teuchos::null && globalIndexer!=Teuchos::null));
65 const std::vector<WorksetDescriptor> & wkstDesc)
const
108 template <
typename LO,
typename GO>
134 using Teuchos::rcp_dynamic_cast;
137 rcp_dynamic_cast<const panzer::GlobalIndexer>(in_linearObjFactory->getDomainGlobalIndexer(),
true));
140 template <
typename T>
147 {
return build<panzer::Traits::Residual>(); }
150 {
return build<panzer::Traits::Jacobian>(); }
153 {
return build<panzer::Traits::Tangent>(); }
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer
void setDerivativeInformation(const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &in_linearObjFactory, const Teuchos::RCP< const panzer::GlobalIndexer > &in_globalIndexer)
Object that contains information on the physics and discretization of a block of elements with the SA...
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName, const std::vector< WorksetDescriptor > &wkstDesc) const
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::GlobalIndexer > &globalIndexer=Teuchos::null, bool applyDirichletToDerivative=false)
Teuchos::Array< double > point_
virtual Teuchos::RCP< ResponseBase > buildResponseObject(const std::string &responseName) const
virtual Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > buildTangentFactory() const
virtual ~ProbeResponse_Builder()
int getCubatureDegree() const
Accessor method for Cubature degree (can be used by sub classes)
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
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)
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()