www.mooseframework.org
Functions
SmoothCircleBaseIC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< SmoothCircleBaseIC > ()
 

Function Documentation

◆ validParams< SmoothCircleBaseIC >()

template<>
InputParameters validParams< SmoothCircleBaseIC > ( )

Definition at line 18 of file SmoothCircleBaseIC.C.

19 {
20  InputParameters params = validParams<InitialCondition>();
21  params.addRequiredParam<Real>("invalue", "The variable value inside the circle");
22  params.addRequiredParam<Real>("outvalue", "The variable value outside the circle");
23  params.addParam<Real>(
24  "int_width", 0.0, "The interfacial width of the void surface. Defaults to sharp interface");
25  params.addParam<bool>("3D_spheres", true, "in 3D, whether the objects are spheres or columns");
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 and overlapping circles.");
31  params.addParam<unsigned int>("rand_seed", 12345, "Seed value for the random number generator");
32  MooseEnum profileType("COS TANH", "COS");
33  params.addParam<MooseEnum>(
34  "profile", profileType, "Functional dependence for the interface profile");
35  return params;
36 }

Referenced by validParams< ClosePackIC >(), validParams< LatticeSmoothCircleIC >(), validParams< MultiSmoothCircleIC >(), validParams< SmoothCircleFromFileIC >(), validParams< SmoothCircleIC >(), and validParams< SpecifiedSmoothCircleIC >().