Classes | Functions
MultiSmoothCircleIC.h File Reference

Go to the source code of this file.


class  MultiSmoothCircleIC
 MultismoothCircleIC creates multiple SmoothCircles (number = numbub) that are randomly positioned around the domain, with a minimum spacing equal to bubspac. More...


InputParameters validParams< MultiSmoothCircleIC > ()

Function Documentation

InputParameters validParams< MultiSmoothCircleIC > ( )

Definition at line 16 of file MultiSmoothCircleIC.C.

Referenced by PolycrystalVoronoiVoidIC::actionParameters().

17 {
18  InputParameters params = validParams<SmoothCircleBaseIC>();
19  params.addClassDescription("Random distribution of smooth circles with given minimum spacing");
20  params.addRequiredParam<unsigned int>("numbub", "The number of bubbles to place");
21  params.addRequiredParam<Real>("bubspac",
22  "minimum spacing of bubbles, measured from center to center");
23  params.addParam<unsigned int>("numtries", 1000, "The number of tries");
24  params.addRequiredParam<Real>("radius", "Mean radius value for the circles");
25  params.addParam<Real>("radius_variation",
26  0.0,
27  "Plus or minus fraction of random variation in "
28  "the bubble radius for uniform, standard "
29  "deviation for normal");
30  MooseEnum rand_options("uniform normal none", "none");
31  params.addParam<MooseEnum>("radius_variation_type",
32  rand_options,
33  "Type of distribution that random circle radii will follow");
34  return params;
35 }
InputParameters validParams< SmoothCircleBaseIC >()