76 Info<<
" - creating " << modelType <<
" profile " << modelName <<
endl;
78 auto* ctorPtr = dictionaryConstructorTable(modelType);
87 *dictionaryConstructorTablePtr_
91 return autoPtr<profileModel>(ctorPtr(
dict, modelName));
word dictName() const
The local dictionary name (final part of scoped name)
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 & name() const
Return const access to the source name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
Macros for easy insertion into run-time selection tables.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
fileName fName_
File name (optional)
A class for handling words, derived from Foam::string.
Base class for profile models for handling aerofoil lift and drag polar diagrams. ...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
profileModel(const dictionary &dict, const word &modelName)
Constructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
bool readFromFile() const
Return true if file name is set.
static autoPtr< profileModel > New(const dictionary &dict)
Return a reference to the selected fvOption model.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...