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

Go to the source code of this file.

Classes

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

Functions

template<>
InputParameters validParams< TricrystalTripleJunctionIC > ()
 

Function Documentation

◆ validParams< TricrystalTripleJunctionIC >()

template<>
InputParameters validParams< TricrystalTripleJunctionIC > ( )

Definition at line 19 of file TricrystalTripleJunctionIC.C.

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