36 virtual int order() {
return 0; }
A class for creating restricted objects.
Base class for predictors.
NonlinearSystemBase & _nl
std::vector< Real > _skip_times
Times for which the predictor should not be applied.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
NumericVector< Number > & _solution_older
Nonlinear system to be solved.
NumericVector< Number > & _solution_old
virtual void timestepSetup()
NumericVector< Number > & _solution_predictor
Every object that can be built by the factory should be derived from this class.
const Real & _timestep_tolerance
Timestep tolerance from Transient executioner.
const bool & _skip_after_failed_timetep
Option to skip prediction after a failed timestep.
virtual void apply(NumericVector< Number > &sln)=0
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual NumericVector< Number > & solutionPredictor()
Real _scale
Amount by which to scale the predicted value. Must be in [0,1].
const InputParameters & parameters() const
Get the parameters of the object.
FEProblemBase & _fe_problem
bool & _is_repeated_timestep
std::vector< Real > _skip_times_old
Old times for which the predictor should not be applied.
const NumericVector< Number > & _solution
virtual bool shouldApply()
Predictor(const InputParameters ¶meters)