/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/timestepping/timestep_control/default.hh Source File#
|
DiFfRG
|
default.hh
Go to the documentation of this file.
23 TC_Default(NEWT &newton_, unsigned int alg_order_, double t_, double max_t_, double dt_, double min_dt_,
100 message << std::setw(16) << "| step from t = " << std::setw(8) << std::setprecision(5) << last_t << std::setw(8)
This is a default time controller implementation which should be used as a base class for any other t...
Definition default.hh:21
TC_Default(NEWT &newton_, unsigned int alg_order_, double t_, double max_t_, double dt_, double min_dt_, double max_dt_, double output_dt_)
Definition default.hh:23
unsigned int get_stuck() const
Get how many times in succession the timestepper was at the same time step.
Definition default.hh:35
virtual void step_success()
The default implementation of step_success does nothing except incrementing time and trying to plan t...
Definition default.hh:109
virtual void step_fail(const std::exception &e)
The default implementation of step_fail immediately aborts the program.
Definition default.hh:120
void advance(F &f, OF &of)
Method to perform a single time step.
Definition default.hh:44
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:168
Generated by