/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/timestepping/timestep_control/pi.hh Source File#
|
DiFfRG
|
pi.hh
Go to the documentation of this file.
20 TC_PI(NEWT &newton_, unsigned int alg_order_, double t_, double max_t_, double dt_, double min_dt_, double max_dt_,
This is a default time controller implementation which should be used as a base class for any other t...
Definition default.hh:21
A simple PI controller which adjusts time steps in a smooth fashion depending on how well the solver ...
Definition pi.hh:17
TC_PI(NEWT &newton_, unsigned int alg_order_, double t_, double max_t_, double dt_, double min_dt_, double max_dt_, double output_dt_)
Definition pi.hh:20
virtual void step_success() override
Increment t and suggest a dt based on current error and previous error.
Definition pi.hh:54
virtual void step_fail(const std::exception &) override
On a fail, decrease the timestep.
Definition pi.hh:70
void get_q()
This method just updates q for the calculation of the next sug_dt.
Definition pi.hh:43
Definition complex_math.hh:10
Generated by