OGS
CreateFixedTimeStepping.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
9#include "FixedTimeStepping.h"
10
11namespace BaseLib
12{
13class ConfigTree;
14}
15
16namespace NumLib
17{
19
21{
22 double t_initial;
23 double t_end;
24 std::vector<RepeatDtPair> repeat_dt_pairs;
25};
26
30 BaseLib::ConfigTree const& config);
31
32std::unique_ptr<TimeStepAlgorithm> createFixedTimeStepping(
33 FixedTimeSteppingParameters const& parameters,
34 std::vector<double> const& fixed_times_for_output);
35
36} // end of namespace NumLib
Interface of time stepping algorithms.
FixedTimeSteppingParameters parseFixedTimeStepping(BaseLib::ConfigTree const &config)
std::unique_ptr< TimeStepAlgorithm > createFixedTimeStepping(FixedTimeSteppingParameters const &parameters, std::vector< double > const &fixed_times_for_output)
std::vector< RepeatDtPair > repeat_dt_pairs