Classes | Functions
SpecifiedSmoothSuperellipsoidIC.h File Reference

Go to the source code of this file.


class  SpecifiedSmoothSuperellipsoidIC
 SpecifiedSmoothSuperellipsoidIC creates multiple SmoothSuperellipsoids (number = size of x_positions) that are positioned in the set locations with the set semiaxes a, b, c and exponents n. More...


InputParameters validParams< SpecifiedSmoothSuperellipsoidIC > ()

Function Documentation

InputParameters validParams< SpecifiedSmoothSuperellipsoidIC > ( )

Definition at line 12 of file SpecifiedSmoothSuperellipsoidIC.C.

Referenced by validParams< BimodalSuperellipsoidsIC >().

13 {
14  InputParameters params = validParams<SmoothSuperellipsoidBaseIC>();
15  params.addClassDescription("Multiple smooth superellipsoids with manually specified center "
16  "points; semiaxes a,b,c; and exponents n");
17  params.addRequiredParam<std::vector<Real>>("x_positions",
18  "The x-coordinate for each superellipsoid center");
19  params.addRequiredParam<std::vector<Real>>("y_positions",
20  "The y-coordinate for each superellipsoid center");
21  params.addRequiredParam<std::vector<Real>>("z_positions",
22  "The z-coordinate for each superellipsoid center");
23  params.addRequiredParam<std::vector<Real>>("as", "Semiaxis a for each superellipsoid");
24  params.addRequiredParam<std::vector<Real>>("bs", "Semiaxis b for each superellipsoid");
25  params.addRequiredParam<std::vector<Real>>("cs", "Semiaxis c for each superellipsoid");
26  params.addRequiredParam<std::vector<Real>>("ns", "Exponent n for each superellipsoid");
28  return params;
29 }
InputParameters validParams< SmoothSuperellipsoidBaseIC >()