https://mooseframework.inl.gov
EulerAngleProvider2RGBAux.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 "EBSDReader.h"
14 #include "EulerAngleProvider.h"
15 #include "GrainTrackerInterface.h"
16 
17 // Forward Declarations
18 class EulerAngleProvider;
19 
24 {
25 public:
27 
29  virtual unsigned int getNumGrains() const;
30 
31 protected:
32  virtual Real computeValue();
33  virtual void precalculateValue();
34 
36  const unsigned int _phase;
37 
39  const unsigned int _sd;
40 
42  const unsigned int _xtal_class;
43 
45  const unsigned int _output_type;
46 
49 
51  const EBSDReader * const _ebsd_reader;
52 
55 
58 
60  const Point _no_grain_color;
61 };
const unsigned int _sd
Reference direction of the sample.
const EBSDReader *const _ebsd_reader
EBSDReader Object.
This class defines the interface for the GrainTracking objects.
const GrainTrackerInterface & _grain_tracker
Grain tracker object.
virtual unsigned int getNumGrains() const
const unsigned int _xtal_class
Crystal structure of the sample.
const unsigned int _output_type
Type of value to be outputted.
const Point _no_grain_color
Vector containing values for color in regions without grains.
EulerAngleProvider2RGBAux(const InputParameters &parameters)
A GeneralUserObject that reads an EBSD file and stores the centroid data in a data structure which in...
Definition: EBSDReader.h:31
const EulerAngleProvider & _euler
Object providing the Euler angles.
static InputParameters validParams()
const unsigned int _phase
Optional phase number needed for global grain index retrieval.
Real _value
precalculated element value
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Abstract base class for user objects that implement the Euler Angle provider interface.
Output euler angles from user object to an AuxVariable.