OGS
TimeInterval.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
namespace
BaseLib
7
{
8
class
ConfigTree
;
9
}
10
11
namespace
NumLib
12
{
17
struct
TimeInterval
final
18
{
25
bool
contains
(
double
const
current_time)
const
;
26
27
double
start_time
;
28
double
end_time
;
29
};
30
31
TimeInterval
createTimeInterval
(
BaseLib::ConfigTree
const
& config);
32
33
}
// namespace NumLib
BaseLib::ConfigTree
Definition
ConfigTree.h:101
BaseLib
Definition
TestDefinition.h:14
NumLib
Definition
ProjectData.h:31
NumLib::createTimeInterval
TimeInterval createTimeInterval(BaseLib::ConfigTree const &config)
Definition
TimeInterval.cpp:17
NumLib::TimeInterval
Definition
TimeInterval.h:18
NumLib::TimeInterval::contains
bool contains(double const current_time) const
Definition
TimeInterval.cpp:11
NumLib::TimeInterval::end_time
double end_time
Definition
TimeInterval.h:28
NumLib::TimeInterval::start_time
double start_time
Definition
TimeInterval.h:27
NumLib
TimeStepping
TimeInterval.h
Generated by
1.14.0