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

◆ validParams< SmoothSuperellipsoidBaseIC >()

template<>
InputParameters validParams< SmoothSuperellipsoidBaseIC > ( )

Definition at line 18 of file SmoothSuperellipsoidBaseIC.C.

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

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