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"))
GetFunctionValueChainControl(const InputParameters ¶meters)
static InputParameters validParams()
static InputParameters validParams()
virtual void execute() override
Execute the control.
Real & _value
The new control data.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("MooseApp", GetFunctionValueChainControl)
Creates a control data and populates it by evaluating a Function.
const Function & _function
Function to be evaluated.
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...
Control that additionally provides the capability to produce/consume data values, to allow control op...
const Point _point
Spatial point at which to evaluate the function.