checkConstantOption.H
Go to the documentation of this file.
1// Unless -constant is present, skip startTime if it is "constant"
2
3if
4(
5 !args.found("constant")
6 && (startTime < Times.size()-1)
7 && (Times[startTime].name() == "constant")
8)
9{
10 ++startTime;
11}
Foam::label startTime
bool found(const word &optName) const
Return true if the named option is found.
Definition: argListI.H:178
Foam::argList args(argc, argv)