OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

uniform Class Reference

uniform pdf More...

Inheritance diagram for uniform:
Collaboration diagram for uniform:

List of all members.


Public Member Functions

 TypeName ("uniform")
 Runtime type information.
 uniform (const dictionary &dict, Random &rndGen)
 Construct from components.
virtual ~uniform ()
 Destructor.
virtual scalar sample () const
 Sample the pdf.
virtual scalar minValue () const
 Return the minimum value.
virtual scalar maxValue () const
 Return the maximum value.

Detailed Description

uniform pdf

Source files

Definition at line 46 of file uniform.H.


Constructor & Destructor Documentation

uniform ( const dictionary &  dict,
Random &  rndGen 
)

Construct from components.

Definition at line 31 of file uniform.C.

References Foam::addToRunTimeSelectionTable(), and Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

~uniform (  )  [virtual]

Destructor.

Definition at line 43 of file uniform.C.


Member Function Documentation

TypeName ( "uniform"   ) 

Runtime type information.

Foam::scalar sample (  )  const [virtual]

Sample the pdf.

Implements pdf.

Definition at line 49 of file uniform.C.

Foam::scalar minValue (  )  const [virtual]

Return the minimum value.

Implements pdf.

Definition at line 55 of file uniform.C.

References pdf::rndGen_, and Random::scalar01().

Here is the call graph for this function:

Foam::scalar maxValue (  )  const [virtual]

Return the maximum value.

Implements pdf.

Definition at line 61 of file uniform.C.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/pdfs/uniform/uniform.H
  • src/thermophysicalModels/pdfs/uniform/uniform.C
Copyright © 2000-2009 OpenCFD Ltd