RosinRammler Class Reference

Rosin-Rammler distributionModel. More...

Inheritance diagram for RosinRammler:
[legend]
Collaboration diagram for RosinRammler:
[legend]

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< distributionModelclone () 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< distributionModelNew (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...
 
- Protected Attributes inherited from distributionModel
const dictionary distributionModelDict_
 Coefficients dictionary. More...
 
RandomrndGen_
 Reference to the random number generator. More...
 

Detailed Description

Rosin-Rammler distributionModel.

\[ CDF(x) = (1 - exp(-(x/d)^n + (d_0/d)^n) /(1 - exp(-(d_1/d)^n + (d_0/d)^n) \]

Source files

Definition at line 58 of file RosinRammler.H.

Constructor & Destructor Documentation

◆ RosinRammler() [1/2]

RosinRammler ( const dictionary dict,
Random rndGen 
)

Construct from components.

Definition at line 45 of file RosinRammler.C.

Referenced by RosinRammler::clone().

Here is the caller graph for this function:

◆ RosinRammler() [2/2]

RosinRammler ( const RosinRammler p)

Construct copy.

Definition at line 60 of file RosinRammler.C.

◆ ~RosinRammler()

~RosinRammler ( )
virtual

Destructor.

Definition at line 72 of file RosinRammler.C.

Member Function Documentation

◆ TypeName()

TypeName ( "RosinRammler"  )

Runtime type information.

◆ clone()

virtual autoPtr<distributionModel> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements distributionModel.

Definition at line 94 of file RosinRammler.H.

References RosinRammler::RosinRammler().

Here is the call graph for this function:

◆ sample()

Foam::scalar sample ( ) const
virtual

Sample the distributionModel.

Implements distributionModel.

Definition at line 78 of file RosinRammler.C.

References Foam::exp(), Foam::log(), Foam::pow(), and y.

Here is the call graph for this function:

◆ minValue()

Foam::scalar minValue ( ) const
virtual

Return the minimum value.

Implements distributionModel.

Definition at line 87 of file RosinRammler.C.

◆ maxValue()

Foam::scalar maxValue ( ) const
virtual

Return the maximum value.

Implements distributionModel.

Definition at line 93 of file RosinRammler.C.

◆ meanValue()

Foam::scalar meanValue ( ) const
virtual

Return the mean value.

Implements distributionModel.

Definition at line 99 of file RosinRammler.C.


The documentation for this class was generated from the following files: