OGS
CreateIterationNumberBasedTimeStepping.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <memory>
13#include <vector>
14
15namespace BaseLib
16{
17class ConfigTree;
18}
19
20namespace NumLib
21{
22class TimeStepAlgorithm;
23
25{
26 double t_initial;
27 double t_end;
28 double minimum_dt;
29 double maximum_dt;
30 double initial_dt;
31 std::vector<int> number_iterations;
32 std::vector<double> multiplier;
33};
34
37
40std::unique_ptr<TimeStepAlgorithm> createIterationNumberBasedTimeStepping(
42 std::vector<double> const& fixed_times_for_output);
43} // namespace NumLib
IterationNumberBasedTimeSteppingParameters parseIterationNumberBasedTimeStepping(BaseLib::ConfigTree const &config)
std::unique_ptr< TimeStepAlgorithm > createIterationNumberBasedTimeStepping(IterationNumberBasedTimeSteppingParameters &&parameters, std::vector< double > const &fixed_times_for_output)