Classes | Functions
TricrystalTripleJunctionIC.h File Reference

Go to the source code of this file.


class  TricrystalTripleJunctionIC
 TricrystalTripleJunctionIC creates a 3-grain structure with a triple junction centered at _junction as specified by the user. More...


InputParameters validParams< TricrystalTripleJunctionIC > ()

Function Documentation

InputParameters validParams< TricrystalTripleJunctionIC > ( )

Definition at line 15 of file TricrystalTripleJunctionIC.C.

16 {
17  InputParameters params = validParams<InitialCondition>();
18  params.addClassDescription("Tricrystal with a triple junction");
19  params.addRequiredParam<unsigned int>("op_num", "Number of grain order parameters");
20  params.addRequiredParam<unsigned int>("op_index", "Index for the current grain order parameter");
21  params.addParam<Real>("theta1", 135.0, "Angle of first grain at triple junction in degrees");
22  params.addParam<Real>("theta2", 135.0, "Angle of second grain at triple junction in degrees");
23  params.addParam<Point>(
24  "junction",
25  "The point where the triple junction is located. Default is the center of the mesh");
26  return params;
27 }