19 params.
addClassDescription(
"Creates a control data and populates it by evaluating a Function.");
20 params.
addRequiredParam<FunctionName>(
"function",
"Function to be evaluated");
21 params.
addParam<Point>(
"point", Point(),
"Spatial point at which to evaluate the function");
27 _value(declareChainControlData<Real>(
"value")),
28 _function(getFunction(
"function")),
29 _point(getParam<Point>(
"point"))
registerMooseObject("MooseApp", GetFunctionValueChainControl)
Control that additionally provides the capability to produce/consume data values, to allow control op...
static InputParameters validParams()
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
Creates a control data and populates it by evaluating a Function.
const Point _point
Spatial point at which to evaluate the function.
static InputParameters validParams()
const Function & _function
Function to be evaluated.
virtual void execute() override
Execute the control.
Real & _value
The new control data.
GetFunctionValueChainControl(const InputParameters ¶meters)