OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

pdf Class Reference

Inheritance diagram for pdf:

Inheritance graph
[legend]
Collaboration diagram for pdf:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 87 of file pdf.H.


Public Member Functions

 TypeName ("pdf")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, pdf, dictionary,(const dictionary &dict, Random &rndGen),(dict, rndGen))
 pdf (const dictionary &dict, Random &rndGen)
 Construct from dictionary.
virtual ~pdf ()
virtual scalar sample () const=0
 Sample the pdf.
virtual scalar minValue () const=0
virtual scalar maxValue () const=0

Static Public Member Functions

static autoPtr< pdf > New (const dictionary &dict, Random &rndGen)

Protected Attributes

const dictionary & dict_
Random & rndGen_

Constructor & Destructor Documentation

pdf ( const dictionary &  dict,
Random &  rndGen 
)

Construct from dictionary.

virtual ~pdf (  )  [virtual]


Member Function Documentation

TypeName ( "pdf"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
pdf  ,
dictionary  ,
(const dictionary &dict, Random &rndGen)  ,
(dict, rndGen)   
)

static autoPtr<pdf> New ( const dictionary &  dict,
Random &  rndGen 
) [static]

virtual scalar sample (  )  const [pure virtual]

Sample the pdf.

Implemented in exponential, general, normal, RosinRammler, and uniform.

virtual scalar minValue (  )  const [pure virtual]

Implemented in exponential, general, normal, RosinRammler, and uniform.

virtual scalar maxValue (  )  const [pure virtual]

Implemented in exponential, general, normal, RosinRammler, and uniform.


Member Data Documentation

const dictionary& dict_ [protected]

Definition at line 94 of file pdf.H.

Random& rndGen_ [protected]

Definition at line 96 of file pdf.H.


The documentation for this class was generated from the following file:
  • src/thermophysicalModels/pdfs/pdf/pdf.H
Copyright © 2000-2007 OpenCFD Ltd