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

#include <EBSDAccessFunctors.h>

Inheritance diagram for EBSDAccessFunctors::EBSDPointDataCustom:
[legend]

Public Member Functions

 EBSDPointDataCustom (unsigned int index)
 
virtual Real operator() (const EBSDPointData &d)
 

Public Attributes

const unsigned int _index
 

Detailed Description

Definition at line 113 of file EBSDAccessFunctors.h.

Constructor & Destructor Documentation

◆ EBSDPointDataCustom()

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

Definition at line 115 of file EBSDAccessFunctors.h.

115 : _index(index) {}

Member Function Documentation

◆ operator()()

virtual Real EBSDAccessFunctors::EBSDPointDataCustom::operator() ( const EBSDPointData d)
inlinevirtual

Implements EBSDAccessFunctors::EBSDPointDataFunctor.

Definition at line 116 of file EBSDAccessFunctors.h.

117  {
118  mooseAssert(_index < d._custom.size(),
119  "Requesting out of bounds index in EBSDPointDataCustom.");
120  return d._custom[_index];
121  };

Member Data Documentation

◆ _index

const unsigned int EBSDAccessFunctors::EBSDPointDataCustom::_index

Definition at line 121 of file EBSDAccessFunctors.h.

Referenced by operator()().


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