36 namespace diameterModels
55 dict.get<
word>(
"daughterSizeDistributionModel")
58 auto* ctorPtr = dictionaryConstructorTable(modelType);
65 "daughterSizeDistributionModel",
67 *dictionaryConstructorTablePtr_
71 return ctorPtr(breakup,
dict);
112 if (nik_.size() == 0)
114 forAll(breakup_.popBal().sizeGroups(),
k)
118 for (label i = 0; i <=
k; i++)
const dimensionedScalar & nik(const label i, const label k) const
Return total number of particles assigned to class i when a particle.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void correct()
Correct field independent expressions.
defineTypeNameAndDebug(constant, 0)
label k
Boltzmann constant.
static autoPtr< daughterSizeDistributionModel > New(const breakupModel &breakup, const dictionary &dict)
#define forAll(list, i)
Loop across all elements in list.
Base class for breakup models which give a total breakup rate and a separate daughter size distributi...
A class for handling words, derived from Foam::string.
daughterSizeDistributionModel(const breakupModel &breakup, const dictionary &dict)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
virtual ~daughterSizeDistributionModel()
Destructor.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
defineRunTimeSelectionTable(binaryBreakupModel, dictionary)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...