27 virtual void step()
override;
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real computeDT() override
Computes time step size after the initial time step.
virtual ~SolutionTimeAdaptiveDT()
virtual std::chrono::milliseconds::rep stepAndRecordElapsedTime()
Take a step and record the elapsed time.
int & _direction
Multiplier specifying the direction the timestep is currently going.
std::ofstream _adaptive_log
The filehandle to hold the log.
virtual void rejectStep() override
This gets called when time step is rejected.
virtual Real computeInitialDT() override
Computes time step size for the initial time step.
const Real _percent_change
Percentage to change the timestep by either way.
virtual void step() override
Take a time step.
Real & _old_sol_time_vs_dt
static InputParameters validParams()
bool _adapt_log
Boolean to control whether a separate adapt log is written to a file.
Real & _older_sol_time_vs_dt
Ratios to control whether to increase or decrease the current timestep.
Base class for time stepping.