1 #ifndef time_integration_h
2 #define time_integration_h
10 inline timing(
const double _tf,
const double _dtmin,
const double _dtmax)
39 double t_tilde = _dt /
TAUR;
40 prefactor = (1. + t_tilde * abs(log( t_tilde)));
50 inline double get_t()
const {
return t; }
53 inline void set_t(
double _t) {
t = _t; }
Definition: time_integration.h:6
void set_t(double _t)
Definition: time_integration.h:53
void set_dt(const double _dt)
Definition: time_integration.h:36
const double DTMIN
Definition: time_integration.h:20
double get_t() const
Definition: time_integration.h:50
const double TAUR
Definition: time_integration.h:26
void inc_t()
Definition: time_integration.h:47
timing(const double _tf, const double _dtmin, const double _dtmax)
Definition: time_integration.h:10
bool is_dt_TooSmall() const
Definition: time_integration.h:44
const double DTMAX
Definition: time_integration.h:23
double get_dt() const
Definition: time_integration.h:32
double dt
Definition: time_integration.h:57
double t
Definition: time_integration.h:56
const double tf
Definition: time_integration.h:17
double prefactor
Definition: time_integration.h:29