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

#include <Panzer_Workset.hpp>

Public Member Functions

 WorksetDetailsAccessor ()
 Default value is 0, which is backwards compatible. More...
 
void setDetailsIndex (const int di)
 An evaluator builder sets the details index. More...
 
int getDetailsIndex () const
 
WorksetDetailsoperator() (Workset &workset) const
 Workset wrapper to extract the correct details. Example: wda(workset).bases[i]. More...
 
const WorksetDetailsoperator() (const Workset &workset) const
 const accessor. More...
 

Private Attributes

int details_index_
 

Detailed Description

This accessor may be used by an evaluator to abstract Details Index. "Details Index" may be in the evaluator's constructor ParameterList. If it is, then this accessor's constructor reads it and checks for error. Regardless of whether it is, operator() then wraps workset's access to WorksetDetails fields to provide the correct ones.

Definition at line 413 of file Panzer_Workset.hpp.

Constructor & Destructor Documentation

panzer::WorksetDetailsAccessor::WorksetDetailsAccessor ( )
inline

Default value is 0, which is backwards compatible.

Definition at line 416 of file Panzer_Workset.hpp.

Member Function Documentation

void panzer::WorksetDetailsAccessor::setDetailsIndex ( const int  di)
inline

An evaluator builder sets the details index.

Definition at line 418 of file Panzer_Workset.hpp.

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

Get the details index. Generally, only a gather evaluator needs to know its details index.

Definition at line 421 of file Panzer_Workset.hpp.

WorksetDetails& panzer::WorksetDetailsAccessor::operator() ( Workset workset) const
inline

Workset wrapper to extract the correct details. Example: wda(workset).bases[i].

Definition at line 423 of file Panzer_Workset.hpp.

const WorksetDetails& panzer::WorksetDetailsAccessor::operator() ( const Workset workset) const
inline

const accessor.

Definition at line 427 of file Panzer_Workset.hpp.

Member Data Documentation

int panzer::WorksetDetailsAccessor::details_index_
private

Definition at line 431 of file Panzer_Workset.hpp.


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