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