19 params.
addRequiredParam<Real>(
"x1",
"The x coordinate of the circle center");
20 params.
addRequiredParam<Real>(
"y1",
"The y coordinate of the circle center");
21 params.
addParam<Real>(
"z1", 0.0,
"The z coordinate of the circle center");
28 _x1(parameters.get<Real>(
"x1")),
29 _y1(parameters.get<Real>(
"y1")),
30 _z1(parameters.get<Real>(
"z1")),
31 _radius(parameters.get<Real>(
"radius")),
32 _center(_x1, _y1, _z1)
registerMooseObject("PhaseFieldApp", SmoothCircleIC)
SmoothcircleBaseIC is the base class for all initial conditions that create circles.
static InputParameters validParams()
std::vector< Real > _radii
std::vector< Point > _centers
SmoothcircleIC creates a circle of a given radius centered at a given point in the domain.
virtual void computeCircleCenters()
SmoothCircleIC(const InputParameters ¶meters)
virtual void computeCircleRadii()
static InputParameters validParams()