Rosin-Rammler distributionModel. More...
Public Member Functions | |
TypeName ("RosinRammler") | |
Runtime type information. More... | |
RosinRammler (const dictionary &dict, Random &rndGen) | |
Construct from components. More... | |
RosinRammler (const RosinRammler &p) | |
Construct copy. More... | |
virtual autoPtr< distributionModel > | clone () const |
Construct and return a clone. More... | |
virtual | ~RosinRammler () |
Destructor. More... | |
virtual scalar | sample () const |
Sample the distributionModel. More... | |
virtual scalar | minValue () const |
Return the minimum value. More... | |
virtual scalar | maxValue () const |
Return the maximum value. More... | |
virtual scalar | meanValue () const |
Return the mean value. More... | |
Public Member Functions inherited from distributionModel | |
TypeName ("distributionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, distributionModel, dictionary,(const dictionary &dict, Random &rndGen),(dict, rndGen)) | |
Declare runtime constructor selection table. More... | |
distributionModel (const word &name, const dictionary &dict, Random &rndGen) | |
Construct from dictionary. More... | |
distributionModel (const distributionModel &p) | |
Construct copy. More... | |
virtual | ~distributionModel () |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from distributionModel | |
static autoPtr< distributionModel > | New (const dictionary &dict, Random &rndGen) |
Selector. More... | |
Protected Member Functions inherited from distributionModel | |
virtual void | check () const |
Check that the distribution model is valid. More... | |
void | info () const |
Print information about the distribution. More... | |
Protected Attributes inherited from distributionModel | |
const dictionary | distributionModelDict_ |
Coefficients dictionary. More... | |
Random & | rndGen_ |
Reference to the random number generator. More... | |
RosinRammler | ( | const dictionary & | dict, |
Random & | rndGen | ||
) |
Construct from components.
Definition at line 43 of file RosinRammler.C.
Referenced by RosinRammler::clone().
RosinRammler | ( | const RosinRammler & | p | ) |
Construct copy.
Definition at line 59 of file RosinRammler.C.
|
virtual |
Destructor.
Definition at line 71 of file RosinRammler.C.
Referenced by RosinRammler::clone().
TypeName | ( | "RosinRammler" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements distributionModel.
Definition at line 92 of file RosinRammler.H.
References RosinRammler::maxValue(), RosinRammler::meanValue(), RosinRammler::minValue(), RosinRammler::RosinRammler(), RosinRammler::sample(), and RosinRammler::~RosinRammler().
|
virtual |
Sample the distributionModel.
Implements distributionModel.
Definition at line 77 of file RosinRammler.C.
References Foam::exp(), Foam::log(), Foam::pow(), distributionModel::rndGen_, Random::sample01(), and y.
Referenced by RosinRammler::clone().
|
virtual |
Return the minimum value.
Implements distributionModel.
Definition at line 86 of file RosinRammler.C.
Referenced by RosinRammler::clone().
|
virtual |
Return the maximum value.
Implements distributionModel.
Definition at line 92 of file RosinRammler.C.
Referenced by RosinRammler::clone().
|
virtual |
Return the mean value.
Implements distributionModel.
Definition at line 98 of file RosinRammler.C.
Referenced by RosinRammler::clone().