72 "Read solver type from the system/controlDict"
87 displayDoc(solver,
".*solvers/.*Foam/",
true,
"C");
91 mesh.time().controlDict().readEntry(
"application", solver);
92 displayDoc(solver,
".*solvers/.*Foam/",
true,
"C");
96 displayDocOptions(
".*solvers/.*Foam/",
true,
"C");
Macros for easy insertion into run-time selection tables.
#define addNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookupName)
Add to construction table with 'lookupName' as the key.
bool found(const word &optName) const
Return true if the named option is found.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
virtual bool execute()
Calculate the output fields.
This class provides help for solvers. When no additional arguments are given, the utility outputs all...
virtual void init()
Initialise - typically setting static variables,.
virtual ~helpSolver()
Destructor.
virtual void init()
Initialise - typically setting static variables,.
static const word null
An empty word.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Foam::argList args(argc, argv)