11 #ifndef __Panzer_ResponseEvaluatorFactory_Probe_impl_hpp__
12 #define __Panzer_ResponseEvaluatorFactory_Probe_impl_hpp__
16 #include "PanzerDiscFE_config.hpp"
26 template <
typename EvalT,
typename LO,
typename GO>
36 template <
typename EvalT,
typename LO,
typename GO>
50 std::string
field = (fieldName_==
"" ? responseName : fieldName_);
53 std::vector<panzer::StrPureBasisPair> blockFields = physicsBlock.
getProvidedDOFs();
55 for (
auto&& v : blockFields) {
56 if (v.first == field) {
74 this->
template registerEvaluator<EvalT>(fm, eval);
77 fm.template requireField<EvalT>(*eval->evaluatedFields()[0]);
81 template <
typename EvalT,
typename LO,
typename GO>
85 if(PHX::print<EvalT>()==PHX::print<panzer::Traits::Residual>() ||
86 PHX::print<EvalT>()==PHX::print<panzer::Traits::Tangent>() ||
87 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