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

Go to the source code of this file.

Classes

class  SmoothSuperellipsoidBaseIC
 SmoothSuperellipsoidBaseIC is the base class for all initial conditions that create superellipsoids. More...
 

Functions

template<>
InputParameters validParams< SmoothSuperellipsoidBaseIC > ()
 

Function Documentation

template<>
InputParameters validParams< SmoothSuperellipsoidBaseIC > ( )

Definition at line 16 of file SmoothSuperellipsoidBaseIC.C.

Referenced by validParams< MultiSmoothSuperellipsoidIC >(), validParams< SmoothSuperellipsoidIC >(), and validParams< SpecifiedSmoothSuperellipsoidIC >().

17 {
18  InputParameters params = validParams<InitialCondition>();
19  params.addRequiredParam<Real>("invalue", "The variable value inside the superellipsoid");
20  params.addRequiredParam<Real>("outvalue", "The variable value outside the superellipsoid");
21  params.addParam<Real>(
22  "nestedvalue",
23  "The variable value for nested particles inside the superellipsoid in inverse configuration");
24  params.addParam<Real>(
25  "int_width", 0.0, "The interfacial width of the void surface. Defaults to sharp interface");
26  params.addParam<bool>("zero_gradient",
27  false,
28  "Set the gradient DOFs to zero. This can avoid "
29  "numerical problems with higher order shape "
30  "functions.");
31  params.addParam<unsigned int>("rand_seed", 12345, "Seed value for the random number generator");
32  return params;
33 }