Loading...
Searching...
No Matches
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-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
13
14Description
15 Add various time-related options (see Foam::timeSelector)
16
17Required Classes
18 - Foam::argList
19
20\*---------------------------------------------------------------------------*/
21
23(
24 "constant",
25 "Include 'constant/' dir in the times"
26);
27
29(
30 "latestTime",
31 "Select the latest time"
32);
33
35(
36 "noZero",
37 "Exclude '0/' dir from the times"
38);
39
41(
42 "time",
43 "value",
44 "Select the nearest time to the specified value"
45);
46
47
48// ************************************************************************* //
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
Definition argList.C:389
static void addOption(const word &optName, const string &param="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
Definition argList.C:400