33 namespace diameterModels
47 const populationBalanceModel& popBal,
48 const dictionary& dict
51 dictionaryConstructorTable::iterator cstrIter =
52 dictionaryConstructorTablePtr_->find(type);
54 if (cstrIter == dictionaryConstructorTablePtr_->end())
57 <<
"Unknown nucleation model type " 59 <<
"Valid nucleation model types : " <<
endl 60 << dictionaryConstructorTablePtr_->sortedToc()
64 return autoPtr<nucleationModel>(cstrIter()(popBal,
dict));
72 const populationBalanceModel& popBal,
73 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.
static autoPtr< nucleationModel > New(const word &type, const populationBalanceModel &popBal, const dictionary &dict)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
nucleationModel(const populationBalanceModel &popBal, const dictionary &dict)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual void precompute()
Precompute diameter independent expressions.