www.mooseframework.org
Functions
PolycrystalHex.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
PolycrystalHex   
)

◆ validParams< PolycrystalHex >()

template<>
InputParameters validParams< PolycrystalHex > ( )

Definition at line 19 of file PolycrystalHex.C.

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