#include <src/thermophysicalModels/pdfs/pdf/pdf.H>
Definition at line 70 of file pdf.H.
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 | ||
) |
void check | ( | ) | const [protected, virtual]
|
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.
Foam::autoPtr< Foam::pdfs::pdf > New | ( | const dictionary & | dict, |
Random & | rndGen | ||
) | [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.
virtual scalar sample | ( | ) | const [pure virtual]
|
Sample the pdf.
Implemented in exponential, fixedValue, general, multiNormal, normal, RosinRammler, and uniform.
virtual scalar minValue | ( | ) | const [pure virtual]
|
Return the minimum value.
Implemented in exponential, fixedValue, general, multiNormal, normal, RosinRammler, and uniform.
Referenced by pdf::check().
virtual scalar maxValue | ( | ) | const [pure virtual]
|
Return the maximum value.
Implemented in exponential, fixedValue, general, multiNormal, normal, RosinRammler, and uniform.
Referenced by pdf::check().
const dictionary pdfDict_ [protected]
|