https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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"
16
17// Forward Declarations
19
24{
25public:
27
29 virtual unsigned int getNumGrains() const;
30
31protected:
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
57 Real _value;
58
60 const Point _no_grain_color;
61};
A GeneralUserObject that reads an EBSD file and stores the centroid data in a data structure which in...
Definition EBSDReader.h:32
Output euler angles from user object to an AuxVariable.
const unsigned int _xtal_class
Crystal structure of the sample.
virtual unsigned int getNumGrains() const
const unsigned int _phase
Optional phase number needed for global grain index retrieval.
const unsigned int _sd
Reference direction of the sample.
const EulerAngleProvider & _euler
Object providing the Euler angles.
const EBSDReader *const _ebsd_reader
EBSDReader Object.
const GrainTrackerInterface & _grain_tracker
Grain tracker object.
const unsigned int _output_type
Type of value to be outputted.
static InputParameters validParams()
const Point _no_grain_color
Vector containing values for color in regions without grains.
Real _value
precalculated element value
Abstract base class for user objects that implement the Euler Angle provider interface.
This class defines the interface for the GrainTracking objects.
const InputParameters & parameters() const