OpenFOAM
v2606
The open source CFD toolbox
checkConstantOption.H
Go to the documentation of this file.
1
// Deprecated include (2024-05) - prefer timeSelector
2
// ----------------------------------------------------------------------------
3
4
// Unless -constant is present, skip startTime if it is "constant"
5
6
if
7
(
8
!
args
.
found
(
"constant"
)
9
&& (
startTime
< Times.size()-1)
10
&& (Times[
startTime
].
name
() ==
"constant"
)
11
)
12
{
13
++
startTime
;
14
}
15
16
// ************************************************************************* //
name
auto & name
Definition:
getAllFaRegionOptions.H:175
args
Foam::argList args(argc, argv)
startTime
Foam::label startTime
Definition:
checkTimeOptions.H:4
Foam::argList::found
bool found(const word &optName) const
Return true if the named option is found.
Definition:
argListI.H:171
src
OpenFOAM
include
checkConstantOption.H
Generated by
1.8.14