32 namespace diameterModels
47 const dictionary& dict,
48 const fractal& fractalShape
51 fractal_(fractalShape)
60 const dictionary& dict,
61 const fractal& fractalShape
64 word sinteringModelType(dict.lookup(
"sinteringModel"));
66 dictionaryConstructorTable::iterator cstrIter =
67 dictionaryConstructorTablePtr_->find(sinteringModelType);
69 if (cstrIter == dictionaryConstructorTablePtr_->end())
72 <<
"Unknown sinteringModel type " 73 << sinteringModelType <<
endl <<
endl 74 <<
"Valid sinteringModel types are : " <<
endl 75 << dictionaryConstructorTablePtr_->sortedToc()
79 return cstrIter()(
dict, fractalShape);
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.
virtual ~sinteringModel()
Destructor.
static autoPtr< sinteringModel > New(const dictionary &dict, const fractal &fractalShape)
sinteringModel(const dictionary &dict, const fractal &fractalShape)
Construct from a dictionary and a fractal shape model.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)