Public Member Functions | List of all members
uniform Class Reference
Inheritance diagram for uniform:
Inheritance graph
[legend]
Collaboration diagram for uniform:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("uniform")
 Runtime type information. More...
 
 uniform (const dictionary &dict, cachedRandom &rndGen)
 Construct from components. More...
 
 uniform (const uniform &p)
 Construct copy. More...
 
virtual autoPtr< distributionModelclone () const
 Construct and return a clone. More...
 
virtual ~uniform ()
 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, cachedRandom &rndGen ),(dict, rndGen))
 Declare runtime constructor selection table. More...
 
 distributionModel (const word &name, const dictionary &dict, cachedRandom &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, cachedRandom &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...
 
cachedRandomrndGen_
 Reference to the random number generator. More...
 

Detailed Description

Definition at line 50 of file uniform.H.

Constructor & Destructor Documentation

uniform ( const dictionary dict,
cachedRandom rndGen 
)

Construct from components.

Definition at line 43 of file uniform.C.

Referenced by uniform::clone().

Here is the caller graph for this function:

uniform ( const uniform p)

Construct copy.

Definition at line 56 of file uniform.C.

~uniform ( )
virtual

Destructor.

Definition at line 66 of file uniform.C.

Referenced by uniform::clone().

Here is the caller graph for this function:

Member Function Documentation

TypeName ( "uniform"  )

Runtime type information.

virtual autoPtr<distributionModel> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements distributionModel.

Definition at line 78 of file uniform.H.

References uniform::maxValue(), uniform::meanValue(), uniform::minValue(), uniform::sample(), uniform::uniform(), and uniform::~uniform().

Here is the call graph for this function:

Foam::scalar sample ( ) const
virtual

Sample the distributionModel.

Implements distributionModel.

Definition at line 72 of file uniform.C.

References cachedRandom::position(), and distributionModel::rndGen_.

Referenced by uniform::clone().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar minValue ( ) const
virtual

Return the minimum value.

Implements distributionModel.

Definition at line 78 of file uniform.C.

Referenced by uniform::clone().

Here is the caller graph for this function:

Foam::scalar maxValue ( ) const
virtual

Return the maximum value.

Implements distributionModel.

Definition at line 84 of file uniform.C.

Referenced by uniform::clone().

Here is the caller graph for this function:

Foam::scalar meanValue ( ) const
virtual

Return the mean value.

Implements distributionModel.

Definition at line 90 of file uniform.C.

Referenced by uniform::clone().

Here is the caller graph for this function:


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