www.mooseframework.org
Functions
EulerAngleProvider2RGBAux.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", EulerAngleProvider2RGBAux)
 
template<>
InputParameters validParams< EulerAngleProvider2RGBAux > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
EulerAngleProvider2RGBAux   
)

◆ validParams< EulerAngleProvider2RGBAux >()

template<>
InputParameters validParams< EulerAngleProvider2RGBAux > ( )

Definition at line 20 of file EulerAngleProvider2RGBAux.C.

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