Classes | Functions
SmoothSuperellipsoidIC.h File Reference

Go to the source code of this file.


class  SmoothSuperellipsoidIC
 SmoothSuperellipsoidIC creates a Superellipsoid of given semiaxes a,b,c and exponent n centered at a given point in the domain. More...


InputParameters validParams< SmoothSuperellipsoidIC > ()

Function Documentation

InputParameters validParams< SmoothSuperellipsoidIC > ( )

Definition at line 11 of file SmoothSuperellipsoidIC.C.

12 {
13  InputParameters params = validParams<SmoothSuperellipsoidBaseIC>();
14  params.addClassDescription("Superellipsoid with a smooth interface");
15  params.addRequiredParam<Real>("x1", "The x coordinate of the superellipsoid center");
16  params.addRequiredParam<Real>("y1", "The y coordinate of the superellipsoid center");
17  params.addParam<Real>("z1", 0.0, "The z coordinate of the superellipsoid center");
18  params.addRequiredParam<Real>("a", "Semiaxis a of the superellipsoid");
19  params.addRequiredParam<Real>("b", "Semiaxis b of the superellipsoid");
20  params.addParam<Real>("c", 1.0, "Semiaxis c of the superellipsoid");
21  params.addRequiredParam<Real>("n", "Exponent n of the superellipsoid");
22  return params;
23 }
InputParameters validParams< SmoothSuperellipsoidBaseIC >()