OpenFOAM
v2312
The open source CFD toolbox
addTimeOptions.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2011 OpenFOAM Foundation
9
Copyright (C) 2023 OpenCFD Ltd.
10
-------------------------------------------------------------------------------
11
License
12
This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
13
14
Description
15
Add various time-related options (see Foam::timeSelector)
16
17
Required Classes
18
- Foam::argList
19
20
\*---------------------------------------------------------------------------*/
21
22
Foam::argList::addBoolOption
23
(
24
"constant"
,
25
"include the 'constant/' dir in the times list"
26
);
27
28
Foam::argList::addBoolOption
29
(
30
"latestTime"
,
31
"select the latest time"
32
);
33
34
Foam::argList::addBoolOption
35
(
36
"noZero"
,
37
"exclude the '0/' dir from the times list"
38
);
39
40
Foam::argList::addOption
41
(
42
"time"
,
43
"time"
,
44
"specify a single time value to select"
45
);
46
47
// ************************************************************************* //
Foam::argList::addBoolOption
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
Definition:
argList.C:374
Foam::argList::addOption
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
Definition:
argList.C:385
src
OpenFOAM
include
addTimeOptions.H
Generated by
1.8.14