/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/timestepping/timestep_control/default.hh Source File#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
default.hh
Go to the documentation of this file.
22 TC_Default(NEWT &newton_, unsigned int alg_order_, double t_, double max_t_, double dt_, double min_dt_,
24 : newton(newton_), alg_order(alg_order_), t(t_), max_t(max_t_), sug_dt(dt_), min_dt(min_dt_), max_dt(max_dt_),
99 message << std::setw(16) << "| step from t = " << std::setw(8) << std::setprecision(5) << last_t << std::setw(8)
Definition run_reporter.hh:96
void error(spdlog::format_string_t< Args... > format, Args &&...args) const
Definition run_reporter.hh:111
This is a default time controller implementation which should be used as a base class for any other t...
Definition default.hh:20
TC_Default(NEWT &newton_, unsigned int alg_order_, double t_, double max_t_, double dt_, double min_dt_, double max_dt_, double output_dt_, ReportPort log={})
Definition default.hh:22
unsigned int get_stuck() const
Get how many times in succession the timestepper was at the same time step.
Definition default.hh:34
virtual void step_success()
The default implementation of step_success does nothing except incrementing time and trying to plan t...
Definition default.hh:108
virtual void step_fail(const std::exception &e)
The default implementation of step_fail immediately aborts the program.
Definition default.hh:119
void advance(F &f, OF &of)
Method to perform a single time step.
Definition default.hh:43
Definition complex_math.hh:10
bool KOKKOS_INLINE_FUNCTION is_close(T1 a, T2 b, T3 eps_)
Function to evaluate whether two floats are equal to numerical precision. Tests for both relative and...
Definition math.hh:177
Generated by