Public Member Functions | Public Attributes | List of all members
EBSDAccessFunctors::EBSDAvgDataCustom Struct Reference

#include <EBSDAccessFunctors.h>

Inheritance diagram for EBSDAccessFunctors::EBSDAvgDataCustom:

Public Member Functions

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

Public Attributes

const unsigned int _index

Detailed Description

Definition at line 156 of file EBSDAccessFunctors.h.

Constructor & Destructor Documentation

◆ EBSDAvgDataCustom()

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

Definition at line 158 of file EBSDAccessFunctors.h.

158 : _index(index) {}

Member Function Documentation

◆ operator()()

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

Implements EBSDAccessFunctors::EBSDAvgDataFunctor.

Definition at line 159 of file EBSDAccessFunctors.h.

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

Member Data Documentation

◆ _index

const unsigned int EBSDAccessFunctors::EBSDAvgDataCustom::_index

Definition at line 164 of file EBSDAccessFunctors.h.

Referenced by operator()().

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