Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.5-40-gc56730a46 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
▼
BaseLib
►
IO
►
Algorithm.h
►
BoostMP11Utils.h
►
CompilerWorkarounds.h
ConfigTree-fwd.h
►
ConfigTree-impl.h
►
ConfigTree.cpp
►
ConfigTree.h
►
ConfigTreeUtil.cpp
►
ConfigTreeUtil.h
►
ContainerTools.h
►
cpp23.h
►
CPUTime.h
►
DateTools.cpp
►
DateTools.h
►
DisableFPE.h
►
Error.h
►
ExportSymbol.h
►
FileTools.cpp
►
FileTools.h
►
Histogram.cpp
►
Histogram.h
►
Logging.cpp
►
Logging.h
MemWatch.cpp
►
MemWatch.h
►
MPI.h
►
PrjProcessing.cpp
►
PrjProcessing.h
►
quicksort.h
►
RunTime.h
►
StringTools.cpp
►
StringTools.h
►
StrongType.h
Subdivision.cpp
►
Subdivision.h
►
ThreadException.h
►
TimeInterval.cpp
►
TimeInterval.h
►
TMP.h
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
TimeInterval.h
Go to the documentation of this file.
1
13
#pragma once
14
15
namespace
BaseLib
16
{
17
class
ConfigTree;
18
23
struct
TimeInterval
final
24
{
25
public
:
26
bool
contains
(
const
double
current_time)
const
27
{
28
return
(current_time >=
start_time
&& current_time <=
end_time
);
29
}
26
bool
contains
(
const
double
current_time)
const
{
…
}
30
31
double
start_time
;
32
double
end_time
;
33
};
23
struct
TimeInterval
final {
…
};
34
35
TimeInterval
createTimeInterval
(
ConfigTree
const
& config);
36
37
}
// namespace BaseLib
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib
Definition
TestDefinition.h:21
BaseLib::createTimeInterval
TimeInterval createTimeInterval(ConfigTree const &config)
Definition
TimeInterval.cpp:23
BaseLib::TimeInterval
Definition
TimeInterval.h:24
BaseLib::TimeInterval::end_time
double end_time
Definition
TimeInterval.h:32
BaseLib::TimeInterval::start_time
double start_time
Definition
TimeInterval.h:31
BaseLib::TimeInterval::contains
bool contains(const double current_time) const
Definition
TimeInterval.h:26
BaseLib
TimeInterval.h
Generated by
1.11.0