www.mooseframework.org
Classes | Functions
SmoothSuperellipsoidIC.h File Reference

Go to the source code of this file.

Classes

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

Functions

template<>
InputParameters validParams< SmoothSuperellipsoidIC > ()
 

Function Documentation

◆ validParams< SmoothSuperellipsoidIC >()

template<>
InputParameters validParams< SmoothSuperellipsoidIC > ( )

Definition at line 16 of file SmoothSuperellipsoidIC.C.

17 {
18  InputParameters params = validParams<SmoothSuperellipsoidBaseIC>();
19  params.addClassDescription("Superellipsoid with a smooth interface");
20  params.addRequiredParam<Real>("x1", "The x coordinate of the superellipsoid center");
21  params.addRequiredParam<Real>("y1", "The y coordinate of the superellipsoid center");
22  params.addParam<Real>("z1", 0.0, "The z coordinate of the superellipsoid center");
23  params.addRequiredParam<Real>("a", "Semiaxis a of the superellipsoid");
24  params.addRequiredParam<Real>("b", "Semiaxis b of the superellipsoid");
25  params.addParam<Real>("c", 1.0, "Semiaxis c of the superellipsoid");
26  params.addRequiredParam<Real>("n", "Exponent n of the superellipsoid");
27  return params;
28 }
validParams< SmoothSuperellipsoidBaseIC >
InputParameters validParams< SmoothSuperellipsoidBaseIC >()
Definition: SmoothSuperellipsoidBaseIC.C:18