Rosin-Rammler distribution, scaled so that it spans between a specified minimum and maximum value, rather than from zero to infinity. More...
Public Member Functions | |
TypeName ("RosinRammler") | |
Runtime type information. More... | |
RosinRammler (const unitConversion &units, const dictionary &dict, const label sampleQ, randomGenerator &&rndGen) | |
Construct from a dictionary. More... | |
RosinRammler (const RosinRammler &d, const label sampleQ) | |
Construct copy. More... | |
virtual autoPtr< distribution > | clone (const label sampleQ) const |
Construct and return a clone. More... | |
virtual | ~RosinRammler () |
Destructor. More... | |
virtual scalar | sample () const |
Sample the distribution. More... | |
virtual scalar | min () const |
Return the minimum value. More... | |
virtual scalar | max () const |
Return the maximum value. More... | |
virtual void | write (Ostream &os, const unitConversion &units) const |
Write to a stream. More... | |
virtual tmp< scalarField > | x (const label n) const |
Return coordinates to plot across the range of the distribution. More... | |
![]() | |
Type | sample () const |
Sample the distribution into components of a primitive type. More... | |
virtual tmp< scalarField > | sample (const label n) const |
Sample the distribution into a field. More... | |
Protected Member Functions | |
virtual tmp< scalarField > | phi (const label q, const scalarField &x) const |
Return values of the un-normalised PDF for the given size exponent. More... | |
virtual tmp< scalarField > | Phi (const label q, const scalarField &x) const |
Return values of the un-normalised CDF for the given size exponent. More... | |
![]() | |
FOR_ALL_FIELD_TYPES (VIRTUAL_SAMPLE_TYPE) | |
Rosin-Rammler distribution, scaled so that it spans between a specified minimum and maximum value, rather than from zero to infinity.
{ type RosinRammler; Q 0; min 0.00001; max 0.00015; d 0.00014; n 2; }
Definition at line 74 of file RosinRammler.H.
RosinRammler | ( | const unitConversion & | units, |
const dictionary & | dict, | ||
const label | sampleQ, | ||
randomGenerator && | rndGen | ||
) |
Construct from a dictionary.
Definition at line 74 of file RosinRammler.C.
Referenced by RosinRammler::clone().
RosinRammler | ( | const RosinRammler & | d, |
const label | sampleQ | ||
) |
Construct copy.
Definition at line 101 of file RosinRammler.C.
|
virtual |
Destructor.
Definition at line 117 of file RosinRammler.C.
|
protectedvirtual |
Return values of the un-normalised PDF for the given size exponent.
and x-coordinates.
Definition at line 43 of file RosinRammler.C.
References Foam::exp(), Foam::integerPow(), Foam::pow(), and RosinRammler::x().
|
protectedvirtual |
Return values of the un-normalised CDF for the given size exponent.
and x-coordinates.
Definition at line 55 of file RosinRammler.C.
References Foam::exp(), unintegrable::Phi(), Foam::pow(), and x.
TypeName | ( | "RosinRammler" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 135 of file RosinRammler.H.
References RosinRammler::RosinRammler().
|
virtual |
Sample the distribution.
Definition at line 123 of file RosinRammler.C.
References Foam::log(), Foam::pow(), s(), and unintegrable::sample().
|
virtual |
Return the minimum value.
Definition at line 139 of file RosinRammler.C.
|
virtual |
Return the maximum value.
Definition at line 145 of file RosinRammler.C.
|
virtual |
Write to a stream.
Definition at line 151 of file RosinRammler.C.
References Foam::unitless, Foam::units(), Foam::vtkWriteOps::write(), and Foam::writeEntry().
|
virtual |
Return coordinates to plot across the range of the distribution.
Definition at line 167 of file RosinRammler.C.
References Foam::max(), n, tmp< T >::ref(), and distribution::x().
Referenced by RosinRammler::phi().