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 154 of file EBSDAccessFunctors.h.

Constructor & Destructor Documentation

◆ EBSDAvgDataCustom()

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

Definition at line 156 of file EBSDAccessFunctors.h.

156 : _index(index) {}

Member Function Documentation

◆ operator()()

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

Implements EBSDAccessFunctors::EBSDAvgDataFunctor.

Definition at line 157 of file EBSDAccessFunctors.h.

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

Member Data Documentation

◆ _index

const unsigned int EBSDAccessFunctors::EBSDAvgDataCustom::_index

Definition at line 162 of file EBSDAccessFunctors.h.

Referenced by operator()().


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