25 virtual void execute()
override;
Control that additionally provides the capability to produce/consume data values, to allow control op...
const InputParameters & parameters() const
Get the parameters of the object.
Computes a moving average of the input control with a user-specified number of points to average.
virtual void execute() override
Execute the control.
const Real & _input
Input data.
static InputParameters validParams()
const unsigned int _n_points
The number of points to use in the moving average.
Real & _output
Output control value.
std::vector< Real > & _values
Vector to store values.
void executeInner()
Performs the main execution.
Real & _previous_time
Previous time for which value was cached.