20 Time const& t,
double const dt,
21 std::vector<double>
const& fixed_output_times)
23 auto const specific_time = std::upper_bound(
24 std::cbegin(fixed_output_times), std::cend(fixed_output_times), t());
26 if (specific_time == std::cend(fixed_output_times))
31 if ((t <
Time(*specific_time)) && t + dt >
Time(*specific_time))
33 double const t_to_specific_time = *specific_time - t();
34 return t_to_specific_time;