31 computeUpdate(
unsigned int it, Real p_used, Real
y, Real y_target)
override;
const std::vector< double > y
Base class for controls that adjust a single scalar parameter (held in a postprocessor) once per fixe...
const InputParameters & parameters() const
Control that adjusts a scalar parameter (held in a postprocessor) to match a sub-app output to a targ...
Real _y_base
Output value of the current base solve (re-seeded each fixed-point solve; not restartable)
Real _p_base
Parameter value of the current base solve (re-seeded each fixed-point solve; not restartable)
virtual IterationUpdate computeUpdate(unsigned int it, Real p_used, Real y, Real y_target) override
Compute this iteration's update from the current sample: the 1-based fixed-point iteration it and the...
const Real _parameter_delta
Finite-difference perturbation applied on each base iteration to form df/dp.
const Real _nonconverged_residual
Residual written on perturbed iterations so convergence is only declared on base iterations.
static InputParameters validParams()
One iteration's update, produced by the derived scheme and applied by execute().