https://mooseframework.inl.gov
Loading...
Searching...
No Matches
EBSDReaderAvgDataAux.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
16class EBSDReader;
18
24{
25public:
27
29
30protected:
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
53 Real _value;
54};
Mix-in class that adds so called access functors to select a field from an EBSDPointData or EBSDPoint...
This kernel makes data from the EBSDReader GeneralUserObject available as AuxVariables.
const GrainTrackerInterface & _grain_tracker
Grain tracker user object.
const unsigned int _phase
Optional phase number needed for global grain index retrieval.
static InputParameters validParams()
const EBSDReader & _ebsd_reader
EBSD reader user object.
MooseEnum _data_name
MooseEnum that stores the type of data this AuxKernel extracts.
const Real _invalid
Value to return for points without active grains.
Real _value
precalculated element value
MooseSharedPointer< EBSDAvgDataFunctor > _val
Accessor functor to fetch the selected data field form the EBSD data point.
virtual void precalculateValue()
A GeneralUserObject that reads an EBSD file and stores the centroid data in a data structure which in...
Definition EBSDReader.h:32
This class defines the interface for the GrainTracking objects.
const InputParameters & parameters() const