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()
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 any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static const fileName null
An empty fileName.
const word & name() const
Return const access to the source name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
const word dictName() const
Return the local dictionary name (final part of scoped name)
virtual ~profileModel()
Destructor.
fileName fName_
File name (optional)
A class for handling words, derived from string.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
const word name_
Name of profile model.
profileModel(const dictionary &dict, const word &modelName)
Constructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
bool readFromFile() const
Return true if file name is set.
static autoPtr< profileModel > New(const dictionary &dict)
Return a reference to the selected fvModel model.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.