32 namespace populationBalance
56 modelType = modelDictPtr->
lookup<
word>(
"type");
61 modelDictPtr = &
dict.optionalTypeDict(modelType);
67 dictionaryConstructorTable::iterator cstrIter =
68 dictionaryConstructorTablePtr_->find(modelType);
70 if (cstrIter == dictionaryConstructorTablePtr_->end())
73 <<
"Unknown " <<
typeName <<
" type "
76 << dictionaryConstructorTablePtr_->sortedToc()
82 return cstrIter()(
popBal, modelDict);
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
Base class for breakup models which provide a total breakup rate and a separate daughter size distrib...
virtual void precompute()
Pre-compute diameter independent expressions.
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
breakupModel(const populationBalanceModel &popBal, const dictionary &dict)
static autoPtr< breakupModel > New(const populationBalanceModel &popBal, const dictionary &dict)
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(breakupModel, 0)
defineRunTimeSelectionTable(breakupModel, dictionary)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.