19 params.
addRequiredParam<Real>(
"xcoord",
"The x coordinate of the circle center");
20 params.
addRequiredParam<Real>(
"width",
"The y coordinate of the circle center");
21 params.
addRequiredParam<Real>(
"height",
"The z coordinate of the circle center");
22 params.
addRequiredParam<Real>(
"invalue",
"The variable value inside the circle");
23 params.
addRequiredParam<Real>(
"outvalue",
"The variable value outside the circle");
29 _xcoord(parameters.get<Real>(
"xcoord")),
30 _width(parameters.get<Real>(
"width")),
31 _height(parameters.get<Real>(
"height")),
32 _invalue(parameters.get<Real>(
"invalue")),
33 _outvalue(parameters.get<Real>(
"outvalue"))
46 for (
unsigned int i = 0; i < 2; ++i)
registerMooseObject("PhaseFieldApp", ThumbIC)
static InputParameters validParams()
ThumbIC creates a rectangle with a half circle on top.
ThumbIC(const InputParameters ¶meters)
virtual Real value(const Point &p)
static InputParameters validParams()