Go to the documentation of this file.
42 int main(
int argc,
char *argv[])
48 "output switches that are known from the libraries "
49 "but that do not seem to be known in the current etc/controlDict"
54 "output switches that appear to be unknown in "
55 "the current etc/controlDict"
104 hashset -= currDebug;
105 listing = hashset.
toc();
107 Info<<
"old DebugSwitches: " << listing <<
endl;
111 listing = hashset.
toc();
113 Info<<
"old InfoSwitches: " << listing <<
endl;
117 listing = hashset.
toc();
119 Info<<
"old OptimisationSwitches: " << listing <<
endl;
130 listing = hashset.
toc();
132 Info<<
"new DebugSwitches: " << listing <<
endl;
136 listing = hashset.
toc();
138 Info<<
"new InfoSwitches: " << listing <<
endl;
142 listing = hashset.
toc();
144 Info<<
"new OptimisationSwitches: " << listing <<
endl;
152 Info<<
"DebugSwitches: " << currDebug <<
endl;
155 Info<<
"InfoSwitches: " << currInfo <<
endl;
158 Info<<
"OptimisationSwitches: " << currOpt <<
endl;
dictionary & debugSwitches()
The DebugSwitches sub-dictionary in the central controlDict.
List< Key > toc() const
Return the table of contents.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A HashTable with keys but without contents.
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
int main(int argc, char *argv[])
A list of keyword definitions, which are a keyword followed by any number of values (e....
#define forAllReverse(list, i)
Reverse loop across all elements in list.
dictionary & infoSwitches()
The InfoSwitches sub-dictionary in the central controlDict.
static Stream & writeDivider(Stream &os)
Write the standard file section divider.
fileNameList findEtcFiles(const fileName &, bool mandatory=false, bool findFirst=false)
Search for files from user/group/shipped directories.
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.
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)
dictionary & optimisationSwitches()
The OptimisationSwitches sub-dictionary in the central controlDict.