18 params.
addRequiredParam<std::string>(
"input",
"Control data value to smooth.");
20 "The number of points to use in the moving average.");
22 "with a user-specified number of points to average. " 23 "The output control value is named 'name:value', " 24 "where 'name' is the name of the control object.");
30 _input(getControlData<
Real>(
"input")),
31 _n_points(getParam<unsigned
int>(
"n_points")),
32 _output(declareComponentControlData<
Real>(
"value")),
33 _values(declareRestartableData<
std::vector<
Real>>(
"values"))
Real & _output
Output control value.
const ExecFlagType & getCurrentExecuteOnFlag() const
std::vector< Real > & _values
Vector to store values.
registerMooseObject("ThermalHydraulicsApp", SmootherControl)
static InputParameters validParams()
const ExecFlagType EXEC_TIMESTEP_BEGIN
FEProblemBase & _fe_problem
const Real & _input
Input data.
static InputParameters validParams()
SmootherControl(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const unsigned int _n_points
The number of points to use in the moving average.
Computes a moving average value of the input control with a user-specified number of points to averag...
void ErrorVector unsigned int