50 dict.getOrDefault<
word>(
"engineType",
"crankConRod")
53 Info<<
"Selecting engine type " << engineType <<
endl;
55 auto* ctorPtr = dictionaryConstructorTable(engineType);
64 *dictionaryConstructorTablePtr_
A class for handling file names.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const word dictName("faMeshDefinition")
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
Input from file stream as an ISstream, normally using std::ifstream for the actual input...
const word & name() const noexcept
Return const reference to name.
const fileName & rootPath() const noexcept
Return root path.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const fileName & caseName() const noexcept
Return case name.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...