19 params.
addClassDescription(
"Sets a ControlData named 'value' with the value of a function");
21 "The name of the function prescribing a value.");
22 params.
addParam<Point>(
"point", Point(),
"Point at which to evaluate function");
28 _value(declareComponentControlData<
Real>(
"value")),
29 _point(getParam<Point>(
"point")),
30 _function(getFunction(
"function"))
GetFunctionValueControl(const InputParameters ¶meters)
This control takes a function and converts it into a control data.
registerMooseObject("ThermalHydraulicsApp", GetFunctionValueControl)
Real & _value
The stored function value.
static InputParameters validParams()
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real value(Real t, const Point &p) const
const Function & _function
Function that is sampled.
const Point & _point
Point at which to evaluate function.