20 params.
addClassDescription(
"Control that multiplies old value by a scalar. Used for testing time "
21 "dependent control values.");
27 _scale(getParam<Real>(
"scale")),
28 _initial(getParam<Real>(
"initial")),
29 _value(declareComponentControlData<Real>(
"value")),
30 _value_old(getComponentControlDataOld<Real>(
"value"))
registerMooseObject("ThermalHydraulicsTestApp", ScalingControl)
Control that multiplies old value by a scalar.
const Real & _scale
Scaling factor.
static InputParameters validParams()
Real & _value
Current value control.
const Real & _initial
Initial value.
ScalingControl(const InputParameters ¶meters)
virtual void execute() override
const Real & _value_old
Old value of the control.
static InputParameters validParams()