exponential Class Reference

exponential distribution model More...

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

Public Member Functions

 TypeName ("exponential")
 Runtime type information. More...
 
 exponential (const dictionary &dict, Random &rndGen)
 Construct from components. More...
 
 exponential (const exponential &p)
 Construct copy. More...
 
virtual autoPtr< distributionModelclone () const
 Construct and return a clone. More...
 
virtual ~exponential ()
 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

exponential distribution model

Source files

Definition at line 52 of file exponential.H.

Constructor & Destructor Documentation

◆ exponential() [1/2]

exponential ( const dictionary dict,
Random rndGen 
)

Construct from components.

Definition at line 45 of file exponential.C.

Referenced by exponential::clone().

Here is the caller graph for this function:

◆ exponential() [2/2]

exponential ( const exponential p)

Construct copy.

Definition at line 59 of file exponential.C.

◆ ~exponential()

~exponential ( )
virtual

Destructor.

Definition at line 70 of file exponential.C.

Member Function Documentation

◆ TypeName()

TypeName ( "exponential"  )

Runtime type information.

◆ clone()

virtual autoPtr<distributionModel> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements distributionModel.

Definition at line 85 of file exponential.H.

References exponential::exponential().

Here is the call graph for this function:

◆ sample()

Foam::scalar sample ( ) const
virtual

Sample the distributionModel.

Implements distributionModel.

Definition at line 76 of file exponential.C.

References Foam::exp(), Foam::log(), 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 84 of file exponential.C.

◆ maxValue()

Foam::scalar maxValue ( ) const
virtual

Return the maximum value.

Implements distributionModel.

Definition at line 90 of file exponential.C.

◆ meanValue()

Foam::scalar meanValue ( ) const
virtual

Return the mean value.

Implements distributionModel.

Definition at line 96 of file exponential.C.


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