OpenFOAM
8
The OpenFOAM Foundation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
checkConstantOption.H
Go to the documentation of this file.
1
// Unless -constant is present, skip startTime if it is "constant"
2
3
if
4
(
5
!
args
.
optionFound
(
"constant"
)
6
&& (
startTime
< Times.size()-1)
7
&& (Times[
startTime
].
name
() ==
"constant"
)
8
)
9
{
10
startTime
++;
11
}
Foam::argList::optionFound
bool optionFound(const word &opt) const
Return true if the named option is found.
Definition:
argListI.H:114
Foam::name
word name(const complex &)
Return a string representation of a complex.
Definition:
complex.C:47
args
Foam::argList args(argc, argv)
startTime
Foam::label startTime
Definition:
checkTimeOptions.H:1
src
OpenFOAM
include
checkConstantOption.H
Generated by
1.8.13