33 namespace diameterModels
51 Info<<
"Selecting drift model for "
54 dictionaryConstructorTable::iterator cstrIter =
55 dictionaryConstructorTablePtr_->find(
type);
57 if (cstrIter == dictionaryConstructorTablePtr_->end())
60 <<
"Unknown drift model type "
62 <<
"Valid drift model types : " <<
endl
63 << dictionaryConstructorTablePtr_->sortedToc()
const word & name() const
Return name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for drift models.
virtual void precompute()
Precompute diameter independent expressions.
const dictionary & dict() const
Return reference to model dictionary.
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
driftModel(const populationBalanceModel &popBal, const dictionary &dict)
static autoPtr< driftModel > New(const word &type, const populationBalanceModel &popBal, const dictionary &dict)
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineRunTimeSelectionTable(IATEsource, dictionary)
defineTypeNameAndDebug(constant, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.