www.mooseframework.org
Functions
EulerAngle2RGBAction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< EulerAngle2RGBAction > ()
 

Function Documentation

template<>
InputParameters validParams< EulerAngle2RGBAction > ( )

Definition at line 15 of file EulerAngle2RGBAction.C.

16 {
17  InputParameters params = validParams<Action>();
18  params.addParam<std::string>("auxvariable_name_base", "RGB", "Base name of the auxvariables");
19  params.addClassDescription("Set up auxvariables and auxkernels to output Euler angles as RGB "
20  "values interpolated across inverse pole figure");
21  MooseEnum sd_enum = MooseEnum("100=1 010=2 001=3", "001");
22  params.addParam<MooseEnum>("sd", sd_enum, "Reference sample direction");
23  MooseEnum structure_enum = MooseEnum(
24  "cubic=43 hexagonal=62 tetragonal=42 trigonal=32 orthorhombic=22 monoclinic=2 triclinic=1");
25  params.addRequiredParam<MooseEnum>(
26  "crystal_structure", structure_enum, "Crystal structure of the material");
27  params.addRequiredParam<UserObjectName>("euler_angle_provider",
28  "Name of Euler angle provider user object");
29  params.addRequiredParam<UserObjectName>("grain_tracker",
30  "The GrainTracker UserObject to get values from.");
31  params.addParam<Point>(
32  "no_grain_color",
33  Point(0, 0, 0),
34  "RGB value of color used to represent area with no grains, defaults to black");
35  return params;
36 }