#include <src/thermophysicalModels/pdfs/pdf/pdf.H>
Inheritance diagram for pdf:
Collaboration diagram for pdf:Public Member Functions | |
| TypeName ("pdf") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, pdf, dictionary,(const dictionary &dict, Random &rndGen),(dict, rndGen)) | |
| Declare runtime constructor selection table. | |
| pdf (const word &name, const dictionary &dict, Random &rndGen) | |
| Construct from dictionary. | |
| virtual | ~pdf () |
| Destructor. | |
| virtual scalar | sample () const =0 |
| Sample the pdf. | |
| virtual scalar | minValue () const =0 |
| Return the minimum value. | |
| virtual scalar | maxValue () const =0 |
| Return the maximum value. | |
Static Public Member Functions | |
| static autoPtr< pdf > | New (const dictionary &dict, Random &rndGen) |
| Selector. | |
Protected Member Functions | |
| virtual void | check () const |
| Check that the PDF is valid. | |
Protected Attributes | |
| const dictionary | pdfDict_ |
| Coefficients dictionary. | |
| Random & | rndGen_ |
| Reference to the randmo number generator. | |
| ( | const word & | name, | |
| const dictionary & | dict, | ||
| Random & | rndGen | ||
| ) |
|
protectedvirtual |
Check that the PDF is valid.
Definition at line 41 of file pdf.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, pdf::maxValue(), pdf::minValue(), Foam::nl, and Foam::type().
Referenced by exponential::exponential(), general::general(), multiNormal::multiNormal(), RosinRammler::RosinRammler(), and uniform::uniform().
| TypeName | ( | "pdf" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| , | |||
| dictionary | , | ||
| (const dictionary &dict, Random &rndGen) | , | ||
| (dict, rndGen) | |||
| ) |
Declare runtime constructor selection table.
|
static |
Selector.
Definition at line 31 of file pdfNew.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.
|
pure virtual |
Sample the pdf.
Implemented in multiNormal, normal, RosinRammler, general, exponential, uniform, and fixedValue.
|
pure virtual |
Return the minimum value.
Implemented in multiNormal, normal, RosinRammler, general, exponential, uniform, and fixedValue.
Referenced by pdf::check().
|
pure virtual |
Return the maximum value.
Implemented in multiNormal, normal, RosinRammler, general, exponential, uniform, and fixedValue.
Referenced by pdf::check().
|
protected |
|
protected |