33 namespace distributionModels
49 minValue_(
readScalar(distributionModelDict_.lookup(
"minValue"))),
50 maxValue_(
readScalar(distributionModelDict_.lookup(
"maxValue")))
59 minValue_(p.minValue_),
60 maxValue_(p.maxValue_)
92 return 0.5*(minValue_ + maxValue_);
Random & rndGen_
Reference to the random number generator.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar scalarAB(const scalar a, const scalar b)
Advance the state and return a scalar sample from a uniform.
Macros for easy insertion into run-time selection tables.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
defineTypeNameAndDebug(exponential, 0)
A library of runtime-selectable distribution models.
addToRunTimeSelectionTable(distributionModel, exponential, dictionary)