www.mooseframework.org
EBSDReaderPointDataAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef EBSDREADERPOINTDATAAUX_H
8 #define EBSDREADERPOINTDATAAUX_H
9 
10 #include "AuxKernel.h"
11 #include "EBSDReader.h"
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<EBSDReaderPointDataAux>();
18 
23 class EBSDReaderPointDataAux : public AuxKernel, EBSDAccessFunctors
24 {
25 public:
26  EBSDReaderPointDataAux(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeValue();
30  virtual void precalculateValue();
31 
33 
35  MooseEnum _data_name;
36 
38  MooseSharedPointer<EBSDPointDataFunctor> _val;
39 
41  Real _value;
42 };
43 
44 #endif // EBSDREADERPOINTDATAAUX_H
const EBSDReader & _ebsd_reader
Real _value
precalculated element value
This kernel makes data from the EBSDReader GeneralUserObject available as AuxVariables.
Mix-in class that adds so called access functors to select a field from an EBSDPointData or EBSDPoint...
A GeneralUserObject that reads an EBSD file and stores the centroid data in a data structure which in...
Definition: EBSDReader.h:34
EBSDReaderPointDataAux(const InputParameters &parameters)
MooseSharedPointer< EBSDPointDataFunctor > _val
Accessor functor to fetch the selected data field form the EBSD data point.
InputParameters validParams< EBSDReaderPointDataAux >()
MooseEnum _data_name
MooseEnum that stores the type of data this AuxKernel extracts.