www.mooseframework.org
Public Member Functions | Public Attributes | List of all members
EBSDAccessFunctors::EBSDAvgDataCustom Struct Reference

#include <EBSDAccessFunctors.h>

Inheritance diagram for EBSDAccessFunctors::EBSDAvgDataCustom:
[legend]

Public Member Functions

 EBSDAvgDataCustom (unsigned int index)
 
virtual Real operator() (const EBSDAvgData &a)
 

Public Attributes

const unsigned int _index
 

Detailed Description

Definition at line 151 of file EBSDAccessFunctors.h.

Constructor & Destructor Documentation

EBSDAccessFunctors::EBSDAvgDataCustom::EBSDAvgDataCustom ( unsigned int  index)
inline

Definition at line 153 of file EBSDAccessFunctors.h.

153 : _index(index) {}

Member Function Documentation

virtual Real EBSDAccessFunctors::EBSDAvgDataCustom::operator() ( const EBSDAvgData a)
inlinevirtual

Implements EBSDAccessFunctors::EBSDAvgDataFunctor.

Definition at line 154 of file EBSDAccessFunctors.h.

155  {
156  mooseAssert(_index < a._custom.size(),
157  "Requesting out of bounds index in EBSDPointDataCustom.");
158  return a._custom[_index];
159  };

Member Data Documentation

const unsigned int EBSDAccessFunctors::EBSDAvgDataCustom::_index

Definition at line 159 of file EBSDAccessFunctors.h.


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