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

Go to the source code of this file.

Classes

class  LatticeSmoothCircleIC
 LatticeSmoothcircleIC creates a lattice of smoothcircles as an initial condition. More...
 

Functions

template<>
InputParameters validParams< LatticeSmoothCircleIC > ()
 

Function Documentation

template<>
InputParameters validParams< LatticeSmoothCircleIC > ( )

Definition at line 13 of file LatticeSmoothCircleIC.C.

14 {
15  InputParameters params = validParams<SmoothCircleBaseIC>();
16  params.addClassDescription("Perturbed square lattice of smooth circles");
17  params.addDeprecatedParam<Real>("Rnd_variation",
18  "Variation from central lattice position",
19  "use the new parameter name pos_variation");
20  params.addParam<Real>("pos_variation", 0.0, "Variation from central lattice position");
21  params.addRequiredParam<std::vector<unsigned int>>(
22  "circles_per_side", "Vector containing the number of bubbles along each side");
23  params.addParam<unsigned int>("rand_seed", 2000, "random seed");
24  params.addRequiredParam<Real>("radius", "Mean radius value for the circels");
25  params.addParam<Real>(
26  "radius_variation", 0.0, "Plus or minus fraction of random variation in the bubble radius");
27  MooseEnum rand_options("uniform normal none", "none");
28  params.addParam<MooseEnum>("radius_variation_type",
29  rand_options,
30  "Type of distribution that random circle radii will follow");
31  params.addParam<bool>(
32  "avoid_bounds", true, "Don't place any bubbles on the simulation cell boundaries");
33  return params;
34 }
InputParameters validParams< SmoothCircleBaseIC >()