www.mooseframework.org
ClosePackIC.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 CLOSEPACKIC_H
8 #define CLOSEPACKIC_H
9 
10 // MOOSE includes
11 #include "SmoothCircleBaseIC.h"
12 
13 // Forward declarations
14 class ClosePackIC;
15 
16 template <>
17 InputParameters validParams<ClosePackIC>();
18 
23 {
24 public:
25  ClosePackIC(const InputParameters & parameters);
26 
27 protected:
29  virtual void computeCircleRadii() {}
30 
32  virtual void computeCircleCenters();
33 
35  const Real _radius;
36 };
37 
38 #endif // CLOSEPACKIC_H
const Real _radius
User-supplied circle radius.
Definition: ClosePackIC.h:35
An InitialCondition for initializing phase variable in close packed circles/spheres pattern...
Definition: ClosePackIC.h:22
SmoothcircleBaseIC is the base class for all initial conditions that create circles.
virtual void computeCircleRadii()
The radius are populated in the computeCircleCenters.
Definition: ClosePackIC.h:29
ClosePackIC(const InputParameters &parameters)
Definition: ClosePackIC.C:24
InputParameters validParams< ClosePackIC >()
Definition: ClosePackIC.C:16
virtual void computeCircleCenters()
Compute the close packed centers and radii.
Definition: ClosePackIC.C:30