33 namespace diameterModels
48 const dictionary& dict,
49 const fractal& fractalShape
52 fractal_(fractalShape)
61 const dictionary& dict,
62 const fractal& fractalShape
65 word sinteringModelType(dict.lookup(
"sinteringModel"));
67 dictionaryConstructorTable::iterator cstrIter =
68 dictionaryConstructorTablePtr_->find(sinteringModelType);
70 if (cstrIter == dictionaryConstructorTablePtr_->end())
73 <<
"Unknown sinteringModel type " 74 << sinteringModelType <<
endl <<
endl 75 <<
"Valid sinteringModel types are : " <<
endl 76 << dictionaryConstructorTablePtr_->sortedToc()
80 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 phase pair.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
Calculate the matrix for implicit and explicit sources.