80 Info<<
" - creating " << modelType <<
" profile " << modelName <<
endl;
82 dictionaryConstructorTable::iterator cstrIter =
83 dictionaryConstructorTablePtr_->find(modelType);
85 if (cstrIter == dictionaryConstructorTablePtr_->end())
88 <<
"Unknown profile model type " << modelType
90 <<
"Valid model types are :" <<
nl
91 << dictionaryConstructorTablePtr_->sortedToc()
Macros for easy insertion into run-time selection tables.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const word dictName() const
Return the local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
A class for handling file names.
static const fileName null
An empty fileName.
Base class for profile models.
virtual ~profileModel()
Destructor.
bool readFromFile() const
Return true if file name is set.
fileName fName_
File name (optional)
profileModel(const dictionary &dict, const word &modelName)
Constructor.
const word & name() const
Return const access to the source name.
static autoPtr< profileModel > New(const dictionary &dict)
Return a reference to the selected fvModel model.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
defineTypeNameAndDebug(combustionModel, 0)