28 std::vector<double>
const& fixed_times_for_output)
33 if (type ==
"SingleStep")
37 return std::make_unique<NumLib::FixedTimeStepping>(0.0, 1.0, 1.0);
39 if (type ==
"FixedTimeStepping")
42 fixed_times_for_output);
44 if (type ==
"EvolutionaryPIDcontroller")
49 if (type ==
"IterationNumberBasedTimeStepping")
53 fixed_times_for_output);
56 "Unknown time stepping type: '{:s}'. The available types are: "
58 "\n\tFixedTimeStepping,"
59 "\n\tEvolutionaryPIDcontroller,",
60 "\n\tIterationNumberBasedTimeStepping\n",
T peekConfigParameter(std::string const ¶m) const
void ignoreConfigParameter(std::string const ¶m) const
std::unique_ptr< TimeStepAlgorithm > createEvolutionaryPIDcontroller(EvolutionaryPIDcontrollerParameters const &config, std::vector< double > const &fixed_times_for_output)
std::unique_ptr< TimeStepAlgorithm > createTimeStepper(BaseLib::ConfigTree const &config, std::vector< double > const &fixed_times_for_output)
EvolutionaryPIDcontrollerParameters parseEvolutionaryPIDcontroller(BaseLib::ConfigTree const &config)
FixedTimeSteppingParameters parseFixedTimeStepping(BaseLib::ConfigTree const &config)
IterationNumberBasedTimeSteppingParameters parseIterationNumberBasedTimeStepping(BaseLib::ConfigTree const &config)
std::unique_ptr< TimeStepAlgorithm > createFixedTimeStepping(FixedTimeSteppingParameters const ¶meters, std::vector< double > const &fixed_times_for_output)
std::unique_ptr< TimeStepAlgorithm > createIterationNumberBasedTimeStepping(IterationNumberBasedTimeSteppingParameters &¶meters, std::vector< double > const &fixed_times_for_output)