www.mooseframework.org
EBSDReaderAvgDataAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "AuxKernel.h"
13 #include "EBSDAccessFunctors.h"
14 
15 // Forward Declarations
16 class EBSDReader;
18 
24 {
25 public:
27 
29 
30 protected:
31  virtual Real computeValue();
32  virtual void precalculateValue();
33 
35  const unsigned int _phase;
36 
39 
42 
45 
47  MooseSharedPointer<EBSDAvgDataFunctor> _val;
48 
50  const Real _invalid;
51 
54 };
MooseSharedPointer< EBSDAvgDataFunctor > _val
Accessor functor to fetch the selected data field form the EBSD data point.
This class defines the interface for the GrainTracking objects.
MooseEnum _data_name
MooseEnum that stores the type of data this AuxKernel extracts.
This kernel makes data from the EBSDReader GeneralUserObject available as AuxVariables.
Real _value
precalculated element value
const EBSDReader & _ebsd_reader
EBSD reader user object.
const GrainTrackerInterface & _grain_tracker
Grain tracker user object.
EBSDReaderAvgDataAux(const InputParameters &parameters)
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:31
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const unsigned int _phase
Optional phase number needed for global grain index retrieval.
const InputParameters & parameters() const
virtual void precalculateValue()
static InputParameters validParams()
const Real _invalid
Value to return for points without active grains.