20 "Algorithm that will predict the next solution based on previous solutions.");
40 _console <<
" Applying predictor with scale factor = " <<
_scale << std::endl;
43 if (dt_adjusted_scale_factor != 0.0)
45 sln *= (1.0 + dt_adjusted_scale_factor);
registerMooseObject("MooseApp", SimplePredictor)
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
Base class for predictors.
virtual bool shouldApply()
Real _scale
Amount by which to scale the predicted value. Must be in [0,1].
static InputParameters validParams()
NumericVector< Number > & _solution_older
A SimplePredictor uses an algorithm that will predict the next solution based on previous solutions.
SimplePredictor(const InputParameters ¶meters)
virtual void apply(NumericVector< Number > &sln) override
virtual bool shouldApply() override
static InputParameters validParams()