Go to the documentation of this file.
52 int main(
int argc,
char *argv[])
56 "List regions from constant/regionProperties"
93 for (label argi = 1; argi <
args.
size(); ++argi)
95 regionTypes[nTypes] =
args[argi];
97 const word& regType = regionTypes[nTypes];
107 InfoErr<<
"No region-type: " << regType <<
nl;
112 regionTypes.
resize(nTypes);
120 for (
const word& regionType : regionTypes)
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 Foam::string.
static void addNote(const string ¬e)
Add extra notes for the usage information.
messageStream InfoErr
Information stream (uses stderr - output is on the master only)
static word controlDictName
The default control dictionary name (normally "controlDict")
static void noMandatoryArgs()
Flag command arguments as being optional (non-mandatory)
static void addArgument(const string &argName, const string &usage="")
Append a (mandatory) argument to validArgs.
static void noFunctionObjects(bool addWithOption=false)
Remove '-noFunctionObjects' option and ignore any occurrences.
static void noJobInfo()
Suppress JobInfo, overriding controlDict setting.
messageStream Info
Information stream (uses stdout - output is on the master only)
Simple class to hold region information for coupled region simulations.
void resize(const label newSize)
Adjust allocated size of list.
List< Key > sortedToc() const
The table of contents (the keys) in sorted order.
label size() const noexcept
The number of arguments.
bool insert(const Key &key)
Insert a new entry, not overwriting existing entries.
regionProperties rp(runTime)
static void noParallel()
Remove the parallel options.
bool found(const Key &key) const
Return true if hashed entry is found in table.
Foam::argList args(argc, argv)