11 #ifndef __Panzer_ResponseEvaluatorFactory_IPCoordinates_impl_hpp__
12 #define __Panzer_ResponseEvaluatorFactory_IPCoordinates_impl_hpp__
17 #include "PanzerDiscFE_config.hpp"
21 #include "Panzer_Integrator_Scalar.hpp"
27 template <
typename EvalT>
29 buildResponseObject(
const std::string & responseName,
const std::vector<WorksetDescriptor> & wkstDesc)
const
33 std::stringstream failureStrm;
34 for(std::size_t i=0;i<wkstDesc.size();i++) {
35 failure |= wkstDesc[i].useSideset();
36 failureStrm << wkstDesc[i] << std::endl;
39 "REF_IPCoordinates::buildResponseObject: could not build using side set descriptors:\n"
40 << failureStrm.str());
45 template <
typename EvalT>
61 this->
template registerEvaluator<EvalT>(fm, eval);
64 fm.template requireField<EvalT>(*eval->evaluatedFields()[0]);
68 template <
typename EvalT>
Object that contains information on the physics and discretization of a block of elements with the SA...
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
virtual bool typeSupported() const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
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< ResponseBase > buildResponseObject(const std::string &responseName, const std::vector< WorksetDescriptor > &eBlocks) const