56 return parRunControl_;
104 return options_[opt];
110 return options_.found(opt);
127 Foam::argList::argRead<Foam::string>(
const label index)
const 135 Foam::argList::argRead<Foam::word>(
const label index)
const 143 Foam::argList::argRead<Foam::fileName>(
const label index)
const 151 Foam::argList::optionRead<Foam::string>(
const word& opt)
const 153 return options_[opt];
159 Foam::argList::optionRead<Foam::word>(
const word& opt)
const 161 return options_[opt];
167 Foam::argList::optionRead<Foam::fileName>(
const word& opt)
const 169 return options_[opt];
205 val = optionRead<T>(opt);
223 if (optionReadIfPresent<T>(opt, val))
244 return optionRead<T>(opt);
263 return options_[opt];
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
T optionRead(const word &opt) const
Read a value from the named option.
Helper class for initializing parallel jobs from the command arguments.
void size(const label)
Override size to be inconsistent with allocated storage.
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
const ParRunControl & parRunControl() const
Return parRunControl.
const string & arg(const label index) const
Return the argument corresponding to index.
const fileName & rootPath() const
Return root path.
T optionLookupOrDefault(const word &opt, const T &deflt) const
Read a value from the named option if present.
const Foam::HashTable< string > & options() const
Return options.
const word & executable() const
Name of executable without the path.
fileName path() const
Return the path to the caseName.
const fileName & caseName() const
Return case name (parallel run) or global case (serial run)
const stringList & args() const
Return arguments.
bool optionFound(const word &opt) const
Return true if the named option is found.
A class for handling words, derived from string.
const fileName & globalCaseName() const
Return case name.
const string & option(const word &opt) const
Return the argument string associated with the named option.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
T argRead(const label index) const
Read a value from the argument at index.
Input from memory buffer stream.
IStringStream optionLookup(const word &opt) const
Return an IStringStream from the named option.
label size() const
Return the number of arguments.
const string & operator[](const label index) const
Return the argument corresponding to index.
A class for handling character strings derived from std::string.