www.mooseframework.org
Functions
PolycrystalVoronoiVoidIC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< PolycrystalVoronoiVoidIC > ()
 

Function Documentation

template<>
InputParameters validParams< PolycrystalVoronoiVoidIC > ( )

Definition at line 32 of file PolycrystalVoronoiVoidIC.C.

33 {
34  InputParameters params = PolycrystalVoronoiVoidIC::actionParameters();
35  MooseEnum structure_options("grains voids");
36  params.addRequiredParam<MooseEnum>("structure_type",
37  structure_options,
38  "Which structure type is being initialized, grains or voids");
39  params.addParam<unsigned int>("op_index",
40  0,
41  "The index for the current "
42  "order parameter, not needed if "
43  "structure_type = voids");
44  return params;
45 }
static InputParameters actionParameters()