OGS
CreateEvolutionaryPIDcontroller.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <memory>
7#include <vector>
8
9namespace BaseLib
10{
11class ConfigTree;
12}
13
14namespace NumLib
15{
17
19{
20 double t0;
21 double t_end;
22 double h0;
23 double h_min;
24 double h_max;
25 double rel_h_min;
26 double rel_h_max;
27 double tol;
28};
29
33 BaseLib::ConfigTree const& config);
34
37std::unique_ptr<TimeStepAlgorithm> createEvolutionaryPIDcontroller(
39 std::vector<double> const& fixed_times_for_output);
40} // end of namespace NumLib
Interface of time stepping algorithms.
std::unique_ptr< TimeStepAlgorithm > createEvolutionaryPIDcontroller(EvolutionaryPIDcontrollerParameters const &config, std::vector< double > const &fixed_times_for_output)
EvolutionaryPIDcontrollerParameters parseEvolutionaryPIDcontroller(BaseLib::ConfigTree const &config)