52 std::vector<RepeatDtPair>
const& repeat_dt_pairs,
53 std::vector<double>
const& fixed_times_for_output);
55 std::tuple<bool, double>
next(
double solution_error,
int number_iterations,
60 std::vector<RepeatDtPair>
const& repeat_dt_pairs);
68 std::vector<double>
const& delta_ts,
69 Time const& fixed_output_time);
Fixed time stepping algorithm.
std::tuple< bool, double > next(double solution_error, int number_iterations, NumLib::TimeStep &ts_previous, NumLib::TimeStep &ts_current) override
static bool areRepeatDtPairsValid(std::vector< RepeatDtPair > const &repeat_dt_pairs)
std::vector< double > _dt_vector
a vector of time step sizes
FixedTimeStepping(double t0, double t_end, double dt)
Interface of time stepping algorithms.
std::tuple< std::size_t, double > RepeatDtPair
std::size_t findDeltatInterval(Time const &t_initial, std::vector< double > const &delta_ts, Time const &fixed_output_time)