11 #ifndef PANZER_EVALUATORS_REGISTRAR_HPP
12 #define PANZER_EVALUATORS_REGISTRAR_HPP
14 #include "Phalanx_FieldManager.hpp"
46 template <
typename EvalT>
54 template<
typename EvalT>
64 op->getName() +
" does not inherit from panzer::EvaluatorWithBaseImpl.");
70 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