15 "time_index", 0,
"Time index. Useful for output control.");
21 "Maximum number of timesteps to take. A negative number disables this.");
26 "General time tolerance. This is used in "
34 dt_(params.GetParamValue<double>(
"dt")),
35 time_(params.GetParamValue<double>(
"time")),
36 t_index_(params.GetParamValue<size_t>(
"time_index")),
38 start_time_(params.GetParamValue<double>(
"start_time")),
39 end_time_(params.GetParamValue<double>(
"end_time")),
40 max_time_steps_(params.GetParamValue<int>(
"max_time_steps")),
41 dt_min_(params.GetParamValue<double>(
"dt_min")),
43 general_tolerance_(params.GetParamValue<double>(
"eps")),
125 std::stringstream outstr;
129 snprintf(buffer, 100,
", time = %g", time);
134 snprintf(buffer, 100,
", dt = %g",
dt_);
static chi::InputParameters GetInputParameters()
double MaxTimeSteps() const
static chi::InputParameters GetInputParameters()
void SetEndTime(double time)
void SetTime(double time)
void SetTimeStepSize(double dt)
const double general_tolerance_
double TimeStepSize() const
void SetMinimumTimeStepSize(double dt_min)
TimeStepper(const chi::InputParameters ¶ms)
void SetStartTime(double time)
size_t TimeStepIndex() const
std::string StringTimeInfo(bool old_time=false) const
void SetMaxTimeSteps(int n)