45 regionProperties(
runTime, IOobject::READ_IF_PRESENT).names();
50 <<
"Warning: No regionProperties, assume default region"
55 Info<<
"Using all regions: " << flatOutput(
regionNames) << nl;
62 selectByName.size() == 1
63 && selectByName.first().isLiteral()
70 else if (selectByName.size())
73 regionProperties(
runTime, IOobject::READ_IF_PRESENT).names();
77 Info<<
"Warning: No regionProperties, assume default region"
87 <<
"No match in regions: "
89 <<
"... stopping" <<
nl <<
endl;
T get(const label index) const
Get a value from the argument at index.
bool readListIfPresent(const word &optName, List< T > &list) const
bool found(const word &optName) const
Return true if the named option is found.
List< word > wordList
A List of words.
List< label > labelList
A List of labels.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
messageStream InfoErr
Information stream (stderr output on master, null elsewhere)
constexpr char nl
The newline '\n' character (0x0a)
Foam::argList args(argc, argv)