32 namespace diameterModels
51 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);
Class for modelling the shape of particle aggregates using the concept of fractal geometry....
Abstract base class for modelling sintering of primary particles in fractal aggregates.
virtual ~sinteringModel()
Destructor.
sinteringModel(const dictionary &dict, const fractal &fractalShape)
Construct from a dictionary and a fractal shape model.
static autoPtr< sinteringModel > New(const dictionary &dict, const fractal &fractalShape)
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.
defineTypeNameAndDebug(fractal, 0)
defineRunTimeSelectionTable(sinteringModel, dictionary)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.