62 return parRunControl_;
68 return rootPath()/caseName();
110 return options_[opt];
116 return options_.found(opt);
133 Foam::argList::argRead<Foam::string>(
const label index)
const
141 Foam::argList::argRead<Foam::word>(
const label index)
const
149 Foam::argList::argRead<Foam::fileName>(
const label index)
const
157 Foam::argList::optionRead<Foam::string>(
const word& opt)
const
159 return options_[opt];
165 Foam::argList::optionRead<Foam::word>(
const word& opt)
const
167 return options_[opt];
173 Foam::argList::optionRead<Foam::fileName>(
const word& opt)
const
175 return options_[opt];
197 optionLookup(opt)() >> val;
209 if (optionFound(opt))
211 val = optionRead<T>(opt);
229 if (optionReadIfPresent<T>(opt, val))
248 if (optionFound(opt))
250 return optionRead<T>(opt);
269 return options_[opt];
Input from memory buffer stream.
Helper class for initialising parallel jobs from the command arguments.
const string & commandLine() const
Return the command line string.
const fileName & caseName() const
Return case name (parallel run) or global case (serial run)
const string & arg(const label index) const
Return the argument corresponding to index.
const fileName & globalCaseName() const
Return case name.
const string & operator[](const label index) const
Return the argument corresponding to index.
T optionRead(const word &opt) const
Read a value from the named option.
label size() const
Return the number of arguments.
bool optionFound(const word &opt) const
Return true if the named option is found.
const ParRunControl & parRunControl() const
Return parRunControl.
const string & option(const word &opt) const
Return the argument string associated with the named option.
const word & executable() const
Name of executable without the path.
const stringList & args() const
Return arguments.
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
const Foam::HashTable< string > & options() const
Return options.
fileName path() const
Return the path to the caseName.
const fileName & rootPath() const
Return root path.
T argRead(const label index) const
Read a value from the argument at index.
IStringStream optionLookup(const word &opt) const
Return an IStringStream from the named option.
T optionLookupOrDefault(const word &opt, const T &deflt) const
Read a value from the named option if present.
A class for handling file names.
A class for handling character strings derived from std::string.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)