22 params.
addParam<
MooseEnum>(
"output_type", output_types,
"Type of value that will be outputted");
27 params.
addCoupledVar(
"symmetry",
"Grain symmetry identifier");
34 _output_type(getParam<
MooseEnum>(
"output_type")),
35 _phi1(coupledValue(
"phi1")),
36 _phi(coupledValue(
"phi")),
37 _phi2(coupledValue(
"phi2")),
38 _phase(coupledValue(
"phase")),
39 _sym(coupledValue(
"symmetry"))
60 for (
unsigned int i = 0; i < 3; ++i)
61 RGBint = 256 * RGBint + (RGB(i) >= 1 ? 255 : std::floor(RGB(i) * 256.0));
66 mooseError(
"Incorrect value for output_type in EulerAngleVariables2RGBAux");
Point euler2RGB(unsigned int sd, Real phi1, Real PHI, Real phi2, unsigned int phase, unsigned int sym)
This function rotates a set of three Bunge Euler angles into the standard Stereographic triangle...
const unsigned int _sd
Reference direction of the sample.
const unsigned int _output_type
Type of value to be outputted.
const VariableValue & _phase
EBSD Phase index.
const VariableValue & _sym
EBSD Crystal symmetry identifier.
EulerAngleVariables2RGBAux(const InputParameters ¶meters)
virtual Real computeValue()
const VariableValue & _phi
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Create an encoded RGB triplet from Euler angle data.
static InputParameters validParams()
const VariableValue & _phi2
void mooseError(Args &&... args) const
static InputParameters validParams()
registerMooseObject("PhaseFieldApp", EulerAngleVariables2RGBAux)
const VariableValue & _phi1
Euler angles to visualize.