www.mooseframework.org
Classes | Functions
EulerAngleProvider2RGBAux.h File Reference

Go to the source code of this file.

Classes

class  EulerAngleProvider2RGBAux
 Output euler angles from user object to an AuxVariable. More...
 

Functions

template<>
InputParameters validParams< EulerAngleProvider2RGBAux > ()
 

Function Documentation

template<>
InputParameters validParams< EulerAngleProvider2RGBAux > ( )

Definition at line 14 of file EulerAngleProvider2RGBAux.C.

15 {
16  InputParameters params = validParams<AuxKernel>();
17  params.addClassDescription("Output RGB representation of crystal orientation from user object to "
18  "an AuxVariable. The entire domain must have the same crystal "
19  "structure.");
20  MooseEnum sd_enum = MooseEnum("100=1 010=2 001=3", "001");
21  params.addParam<MooseEnum>("sd", sd_enum, "Reference sample direction");
22  MooseEnum structure_enum = MooseEnum(
23  "cubic=43 hexagonal=62 tetragonal=42 trigonal=32 orthorhombic=22 monoclinic=2 triclinic=1");
24  params.addRequiredParam<MooseEnum>(
25  "crystal_structure", structure_enum, "Crystal structure of the material");
26  MooseEnum output_types = MooseEnum("red green blue scalar", "scalar");
27  params.addParam<MooseEnum>("output_type", output_types, "Type of value that will be outputted");
28  params.addRequiredParam<UserObjectName>("euler_angle_provider",
29  "Name of Euler angle provider user object");
30  params.addRequiredParam<UserObjectName>("grain_tracker",
31  "The GrainTracker UserObject to get values from.");
32  params.addParam<Point>(
33  "no_grain_color",
34  Point(0, 0, 0),
35  "RGB value of color used to represent area with no grains, defaults to black");
36  return params;
37 }