19 params.
addRequiredParam<Real>(
"x1",
"The x coordinate of the superellipsoid center");
20 params.
addRequiredParam<Real>(
"y1",
"The y coordinate of the superellipsoid center");
21 params.
addParam<Real>(
"z1", 0.0,
"The z coordinate of the superellipsoid center");
24 params.
addParam<Real>(
"c", 1.0,
"Semiaxis c of the superellipsoid");
31 _x1(parameters.get<Real>(
"x1")),
32 _y1(parameters.get<Real>(
"y1")),
33 _z1(parameters.get<Real>(
"z1")),
34 _a(parameters.get<Real>(
"a")),
35 _b(parameters.get<Real>(
"b")),
36 _c(parameters.get<Real>(
"c")),
37 _n(parameters.get<Real>(
"n")),
38 _center(_x1, _y1, _z1)
registerMooseObject("PhaseFieldApp", SmoothSuperellipsoidIC)
SmoothSuperellipsoidBaseIC is the base class for all initial conditions that create superellipsoids.
static InputParameters validParams()
std::vector< Point > _centers
SmoothSuperellipsoidIC creates a Superellipsoid of given semiaxes a,b,c and exponent n centered at a ...
SmoothSuperellipsoidIC(const InputParameters ¶meters)
virtual void computeSuperellipsoidExponents()
static InputParameters validParams()
virtual void computeSuperellipsoidSemiaxes()
virtual void computeSuperellipsoidCenters()