43 #ifndef PANZER_EVALUATORS_REGISTRAR_HPP
44 #define PANZER_EVALUATORS_REGISTRAR_HPP
46 #include "Phalanx_FieldManager.hpp"
78 template <
typename EvalT>
80 const Teuchos::RCP< PHX::Evaluator<panzer::Traits> >& op)
const;
86 template<
typename EvalT>
89 const Teuchos::RCP< PHX::Evaluator<panzer::Traits> >& op)
const
96 op->getName() +
" does not inherit from panzer::EvaluatorWithBaseImpl.");
102 fm.template registerEvaluator<EvalT>(op);
virtual ~EvaluatorsRegistrar()
int setDetailsIndex(const int details_index)
bool nonnull(const std::shared_ptr< T > &p)
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
int getDetailsIndex() const
Get the WorksetDetails index.
EvaluatorsRegistrar()
Default ctor initializes WorksetDetails index to 0.
void registerEvaluator(PHX::FieldManager< panzer::Traits > &fm, const Teuchos::RCP< PHX::Evaluator< panzer::Traits > > &op) const