32 namespace diameterModels
46 const populationBalanceModel& popBal,
47 const dictionary& dict
50 dictionaryConstructorTable::iterator cstrIter =
51 dictionaryConstructorTablePtr_->find(type);
53 if (cstrIter == dictionaryConstructorTablePtr_->end())
56 <<
"Unknown breakup model type " 58 <<
"Valid breakup model types : " <<
endl 59 << dictionaryConstructorTablePtr_->sortedToc()
63 return autoPtr<breakupModel>(cstrIter()(popBal,
dict));
71 const populationBalanceModel& popBal,
72 const dictionary& dict
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
breakupModel(const populationBalanceModel &popBal, const dictionary &dict)
static autoPtr< breakupModel > New(const word &type, const populationBalanceModel &popBal, const dictionary &dict)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
static autoPtr< daughterSizeDistributionModel > New(const breakupModel &breakup, const dictionary &dict)
virtual void precompute()
Precompute diameter independent expressions.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...