32 namespace diameterModels
50 Info<<
"Selecting breakup model for "
53 dictionaryConstructorTable::iterator cstrIter =
54 dictionaryConstructorTablePtr_->find(
type);
56 if (cstrIter == dictionaryConstructorTablePtr_->end())
59 <<
"Unknown breakup model type "
61 <<
"Valid breakup model types : " <<
endl
62 << 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 breakup models which provide a total breakup rate and a separate daughter size distrib...
virtual void precompute()
Precompute diameter independent expressions.
autoPtr< daughterSizeDistributionModel > dsd_
Daughter size distribution model.
static autoPtr< breakupModel > New(const word &type, const populationBalanceModel &popBal, const dictionary &dict)
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
breakupModel(const populationBalanceModel &popBal, const dictionary &dict)
static autoPtr< daughterSizeDistributionModel > New(const breakupModel &breakup, 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.