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

Go to the source code of this file.

Classes

class  PolycrystalRandomICAction
 Automatically generates all variables to model a polycrystal with op_num orderparameters. More...
 

Functions

template<>
InputParameters validParams< PolycrystalRandomICAction > ()
 

Function Documentation

template<>
InputParameters validParams< PolycrystalRandomICAction > ( )

Definition at line 14 of file PolycrystalRandomICAction.C.

15 {
16  InputParameters params = validParams<Action>();
17  params.addRequiredParam<unsigned int>("op_num", "number of order parameters to create");
18  params.addRequiredParam<std::string>("var_name_base", "specifies the base name of the variables");
19  MooseEnum typ_options("continuous discrete");
20  params.addParam<MooseEnum>("random_type",
21  typ_options,
22  "The type of random polycrystal initial condition. Whether one "
23  "order parameter is chosen to be 1 at each node or if each order "
24  "parameter continuously varies from 0 to 1");
25 
26  return params;
27 }