Go to the documentation of this file.
49 int main(
int argc,
char *argv[])
59 "list times from processor0/ directory"
64 "remove selected time directories"
84 <<
"No processor* directories found"
89 databases.setSize(nProcs);
123 databases[0].times(),
131 for (
label procI=0; procI<nProcs; procI++)
static void noBanner()
Disable emitting the banner information.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
A class for handling file names.
static void addNote(const string &)
Add extra notes for the usage information.
#define forAll(list, i)
Loop across all elements in list.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const fileName & rootPath() const
Return root path.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
int main(int argc, char *argv[])
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
fileName path() const
Return the path to the caseName.
bool isDir(const fileName &)
Does the name exist as a DIRECTORY in the file system?
errorManipArg< error, int > exit(error &err, const int errNo=1)
static instantList timeDirs
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool optionFound(const word &opt) const
Return true if the named option is found.
instantList select(const instantList &) const
Select a list of Time values that are within the ranges.
const fileName & caseName() const
Return case name (parallel run) or global case (serial run)
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)
static word controlDictName
The default control dictionary name (normally "controlDict")
bool rmDir(const fileName &)
Remove a dirctory and its contents.
word name(const complex &)
Return a string representation of a complex.