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

Go to the source code of this file.

Classes

class  PolycrystalVoronoiVoidIC
 PolycrystalVoronoiVoidIC initializes either grain or void values for a voronoi tesselation with voids distributed along the grain boundaries. More...
 
struct  PolycrystalVoronoiVoidIC::DistancePoint
 Type for distance and point. More...
 
struct  PolycrystalVoronoiVoidIC::DistancePointComparator
 Sorts the temp_centerpoints into order of magnitude. More...
 

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()