www.mooseframework.org
Functions
PFCFreezingIC.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
PFCFreezingIC   
)

◆ validParams< PFCFreezingIC >()

template<>
InputParameters validParams< PFCFreezingIC > ( )

Definition at line 17 of file PFCFreezingIC.C.

18 {
19  InputParameters params = validParams<RandomICBase>();
20  params.addRequiredParam<Real>("x1",
21  "The x coordinate of the lower left-hand corner of the frozen box");
22  params.addRequiredParam<Real>("y1",
23  "The y coordinate of the lower left-hand corner of the frozen box");
24  params.addParam<Real>("z1", 0.0, "The z coordinate of the lower left-hand corner of the box");
25 
26  params.addRequiredParam<Real>("x2", "The x coordinate of the upper right-hand corner of the box");
27  params.addRequiredParam<Real>("y2", "The y coordinate of the upper right-hand corner of the box");
28  params.addParam<Real>("z2", 0.0, "The z coordinate of the upper right-hand corner of the box");
29 
30  params.addParam<Real>("min", 0.0, "Lower bound of the randomly generated values");
31  params.addParam<Real>("max", 1.0, "Upper bound of the randomly generated values");
32  params.addParam<Real>("inside", 1.0, "Value inside sinusoids");
33  params.addParam<Real>("outside", 0.0, "Value outside sinusoids");
34 
35  params.addRequiredParam<Real>("lc", "The lattice constant off the crystal structure");
36 
37  MooseEnum crystal_structures("FCC BCC");
38  params.addParam<MooseEnum>(
39  "crystal_structure", crystal_structures, "The type of crystal structure");
40 
41  return params;
42 }