www.mooseframework.org
Functions
PolycrystalHex.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< PolycrystalHex > ()
 

Function Documentation

template<>
InputParameters validParams< PolycrystalHex > ( )

Definition at line 15 of file PolycrystalHex.C.

16 {
17  InputParameters params = validParams<PolycrystalVoronoi>();
18  params.addClassDescription("Perturbed hexagonal polycrystal");
19  params.addParam<Real>("x_offset", 0.5, "Specifies offset of hexagon grid in x-direction");
20  params.addRangeCheckedParam<Real>(
21  "perturbation_percent",
22  0.0,
23  "perturbation_percent >= 0.0 & perturbation_percent <= 1.0",
24  "The percent to randomly perturb centers of grains relative to the size of the grain");
25  return params;
26 }
InputParameters validParams< PolycrystalVoronoi >()