OGS
CreateIterationNumberBasedTimeStepping.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <memory>
13
#include <vector>
14
15
namespace
BaseLib
16
{
17
class
ConfigTree;
18
}
19
20
namespace
NumLib
21
{
22
class
TimeStepAlgorithm;
23
24
struct
IterationNumberBasedTimeSteppingParameters
final
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
35
IterationNumberBasedTimeSteppingParameters
36
parseIterationNumberBasedTimeStepping
(
BaseLib::ConfigTree
const
& config);
37
40
std::unique_ptr<TimeStepAlgorithm>
createIterationNumberBasedTimeStepping
(
41
IterationNumberBasedTimeSteppingParameters
&& parameters,
42
std::vector<double>
const
& fixed_times_for_output);
43
}
// namespace NumLib
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib
Definition
TestDefinition.h:21
NumLib
Definition
ProjectData.h:46
NumLib::parseIterationNumberBasedTimeStepping
IterationNumberBasedTimeSteppingParameters parseIterationNumberBasedTimeStepping(BaseLib::ConfigTree const &config)
Definition
CreateIterationNumberBasedTimeStepping.cpp:23
NumLib::createIterationNumberBasedTimeStepping
std::unique_ptr< TimeStepAlgorithm > createIterationNumberBasedTimeStepping(IterationNumberBasedTimeSteppingParameters &¶meters, std::vector< double > const &fixed_times_for_output)
Definition
CreateIterationNumberBasedTimeStepping.cpp:66
NumLib::IterationNumberBasedTimeSteppingParameters
Definition
CreateIterationNumberBasedTimeStepping.h:25
NumLib::IterationNumberBasedTimeSteppingParameters::t_end
double t_end
Definition
CreateIterationNumberBasedTimeStepping.h:27
NumLib::IterationNumberBasedTimeSteppingParameters::initial_dt
double initial_dt
Definition
CreateIterationNumberBasedTimeStepping.h:30
NumLib::IterationNumberBasedTimeSteppingParameters::multiplier
std::vector< double > multiplier
Definition
CreateIterationNumberBasedTimeStepping.h:32
NumLib::IterationNumberBasedTimeSteppingParameters::t_initial
double t_initial
Definition
CreateIterationNumberBasedTimeStepping.h:26
NumLib::IterationNumberBasedTimeSteppingParameters::minimum_dt
double minimum_dt
Definition
CreateIterationNumberBasedTimeStepping.h:28
NumLib::IterationNumberBasedTimeSteppingParameters::number_iterations
std::vector< int > number_iterations
Definition
CreateIterationNumberBasedTimeStepping.h:31
NumLib::IterationNumberBasedTimeSteppingParameters::maximum_dt
double maximum_dt
Definition
CreateIterationNumberBasedTimeStepping.h:29
NumLib
TimeStepping
Algorithms
CreateIterationNumberBasedTimeStepping.h
Generated by
1.12.0