43 #ifndef __Panzer_ResponseEvaluatorFactory_Probe_impl_hpp__
44 #define __Panzer_ResponseEvaluatorFactory_Probe_impl_hpp__
48 #include "PanzerDiscFE_config.hpp"
58 template <
typename EvalT,
typename LO,
typename GO>
68 template <
typename EvalT,
typename LO,
typename GO>
82 std::string
field = (fieldName_==
"" ? responseName : fieldName_);
85 std::vector<panzer::StrPureBasisPair> blockFields = physicsBlock.
getProvidedDOFs();
87 for (
auto&& v : blockFields) {
88 if (v.first == field) {
106 this->
template registerEvaluator<EvalT>(fm, eval);
109 fm.template requireField<EvalT>(*eval->evaluatedFields()[0]);
113 template <
typename EvalT,
typename LO,
typename GO>
117 if(PHX::print<EvalT>()==PHX::print<panzer::Traits::Residual>() ||
118 PHX::print<EvalT>()==PHX::print<panzer::Traits::Tangent>() ||
119 PHX::print<EvalT>()==PHX::print<panzer::Traits::Jacobian>()
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
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void setRequiresDirichletAdjustment(bool b)
const std::map< int, Teuchos::RCP< panzer::IntegrationRule > > & getIntegrationRules() const
Returns the unique set of point rules, key is the unique panzer::PointRule::name() ...
PHX::MDField< ScalarT, panzer::Cell, panzer::BASIS > field
A field to which we'll contribute, or in which we'll store, the result of computing this integral...
virtual bool typeSupported() const
virtual void buildAndRegisterEvaluators(const std::string &responseName, PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &physicsBlock, const Teuchos::ParameterList &user_data) const
const std::vector< StrPureBasisPair > & getProvidedDOFs() const