www.mooseframework.org
Functions
SmoothCircleBaseIC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< SmoothCircleBaseIC > ()
 

Function Documentation

template<>
InputParameters validParams< SmoothCircleBaseIC > ( )

Definition at line 16 of file SmoothCircleBaseIC.C.

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

17 {
18  InputParameters params = validParams<InitialCondition>();
19  params.addRequiredParam<Real>("invalue", "The variable value inside the circle");
20  params.addRequiredParam<Real>("outvalue", "The variable value outside the circle");
21  params.addParam<Real>(
22  "int_width", 0.0, "The interfacial width of the void surface. Defaults to sharp interface");
23  params.addParam<bool>("3D_spheres", true, "in 3D, whether the objects are spheres or columns");
24  params.addParam<bool>("zero_gradient",
25  false,
26  "Set the gradient DOFs to zero. This can avoid "
27  "numerical problems with higher order shape "
28  "functions and overlapping circles.");
29  params.addParam<unsigned int>("rand_seed", 12345, "Seed value for the random number generator");
30  return params;
31 }