www.mooseframework.org
MultiSmoothCircleIC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef MULTISMOOTHCIRCLEIC_H
8 #define MULTISMOOTHCIRCLEIC_H
9 
10 #include "SmoothCircleBaseIC.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<MultiSmoothCircleIC>();
17 
23 {
24 public:
25  MultiSmoothCircleIC(const InputParameters & parameters);
26 
27  virtual void initialSetup();
28 
29 protected:
30  virtual void computeCircleRadii();
31  virtual void computeCircleCenters();
32 
33  const unsigned int _numbub;
34  const Real _bubspac;
35 
36  const unsigned int _max_num_tries;
37 
38  const Real _radius;
39  const Real _radius_variation;
40  const MooseEnum _radius_variation_type;
41 
42  Point _bottom_left;
43  Point _top_right;
44  Point _range;
45 };
46 
47 #endif // MULTISMOOTHCIRCLEIC_H
const MooseEnum _radius_variation_type
const unsigned int _max_num_tries
virtual void computeCircleCenters()
SmoothcircleBaseIC is the base class for all initial conditions that create circles.
InputParameters validParams< MultiSmoothCircleIC >()
const unsigned int _numbub
MultiSmoothCircleIC(const InputParameters &parameters)
virtual void computeCircleRadii()
virtual void initialSetup()
MultismoothCircleIC creates multiple SmoothCircles (number = numbub) that are randomly positioned aro...