Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
panzer::EvaluatorsRegistrar Class Reference

#include <Panzer_EvaluatorsRegistrar.hpp>

Inheritance diagram for panzer::EvaluatorsRegistrar:
Inheritance graph
[legend]

Public Member Functions

int setDetailsIndex (const int details_index)
 
int getDetailsIndex () const
 Get the WorksetDetails index. More...
 

Protected Member Functions

 EvaluatorsRegistrar ()
 Default ctor initializes WorksetDetails index to 0. More...
 
virtual ~EvaluatorsRegistrar ()
 
template<typename EvalT >
void registerEvaluator (PHX::FieldManager< panzer::Traits > &fm, const Teuchos::RCP< PHX::Evaluator< panzer::Traits > > &op) const
 

Private Attributes

int details_index_
 

Detailed Description

Classes that call PHX::FieldManager::registerEvaluator on panzer::EvaluatorWithBaseImpl objects inherit from this class to wrap the registerEvaluator call. This class injects the WorksetDetails index into the evaluator.

Definition at line 57 of file Panzer_EvaluatorsRegistrar.hpp.

Constructor & Destructor Documentation

panzer::EvaluatorsRegistrar::EvaluatorsRegistrar ( )
inlineprotected

Default ctor initializes WorksetDetails index to 0.

Definition at line 73 of file Panzer_EvaluatorsRegistrar.hpp.

virtual panzer::EvaluatorsRegistrar::~EvaluatorsRegistrar ( )
inlineprotectedvirtual

Definition at line 74 of file Panzer_EvaluatorsRegistrar.hpp.

Member Function Documentation

int panzer::EvaluatorsRegistrar::setDetailsIndex ( const int  details_index)
inline

Set the WorksetDetails index in all evaluators registered through EquationSetBase::registerEvaluator. The details index can be set multiple times. The current value applies at registration. Return the previous value.

Definition at line 63 of file Panzer_EvaluatorsRegistrar.hpp.

int panzer::EvaluatorsRegistrar::getDetailsIndex ( ) const
inline

Get the WorksetDetails index.

Definition at line 69 of file Panzer_EvaluatorsRegistrar.hpp.

template<typename EvalT >
void panzer::EvaluatorsRegistrar::registerEvaluator ( PHX::FieldManager< panzer::Traits > &  fm,
const Teuchos::RCP< PHX::Evaluator< panzer::Traits > > &  op 
) const
protected

Register the evaluator and initialize it with any information in panzer::EvaluatorWithBaseImpl.

Definition at line 88 of file Panzer_EvaluatorsRegistrar.hpp.

Member Data Documentation

int panzer::EvaluatorsRegistrar::details_index_
private

Definition at line 83 of file Panzer_EvaluatorsRegistrar.hpp.


The documentation for this class was generated from the following file: