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