mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
- static version of polyMesh::meshDir(), which takes a region name
polyMesh::meshDir(regionName)
vs
polyMesh::regionName(regionName)/polyMesh::meshSubDir
STYLE: use polyMesh::regionName(..) instead of comparing to defaultRegion
STYLE: use getOrDefault when retrieving various -region options
FIX: polyMesh::dbDir() now checks registry name, not full path (#3033)
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
/*---------------------------------------------------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | www.openfoam.com
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Copyright (C) 2011 OpenFOAM Foundation
|
|
Copyright (C) 2023 OpenCFD Ltd.
|
|
-------------------------------------------------------------------------------
|
|
License
|
|
This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
|
|
|
Description
|
|
Add various time-related options (see Foam::timeSelector)
|
|
|
|
Required Classes
|
|
- Foam::argList
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
Foam::argList::addBoolOption
|
|
(
|
|
"constant",
|
|
"include the 'constant/' dir in the times list"
|
|
);
|
|
|
|
Foam::argList::addBoolOption
|
|
(
|
|
"latestTime",
|
|
"select the latest time"
|
|
);
|
|
|
|
Foam::argList::addBoolOption
|
|
(
|
|
"noZero",
|
|
"exclude the '0/' dir from the times list"
|
|
);
|
|
|
|
Foam::argList::addOption
|
|
(
|
|
"time",
|
|
"time",
|
|
"specify a single time value to select"
|
|
);
|
|
|
|
// ************************************************************************* //
|