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

Constructor & Destructor Documentation

◆ EBSDPointDataCustom()

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

Definition at line 117 of file EBSDAccessFunctors.h.

117 : _index(index) {}

Member Function Documentation

◆ operator()()

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

Implements EBSDAccessFunctors::EBSDPointDataFunctor.

Definition at line 118 of file EBSDAccessFunctors.h.

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

Member Data Documentation

◆ _index

const unsigned int EBSDAccessFunctors::EBSDPointDataCustom::_index

Definition at line 123 of file EBSDAccessFunctors.h.

Referenced by operator()().


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