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
6namespace BaseLib
7{
8class ConfigTree;
9}
10
11namespace NumLib
12{
17struct TimeInterval final
18{
25 bool contains(double const current_time) const;
26
27 double start_time;
28 double end_time;
29};
30
32
33} // namespace NumLib
TimeInterval createTimeInterval(BaseLib::ConfigTree const &config)
bool contains(double const current_time) const