#include <src/thermophysicalModels/pdfs/general/general.H>
Public Member Functions | |
TypeName ("general") | |
Runtime type information. | |
general (const dictionary &dict, Random &rndGen) | |
Construct from components. | |
virtual | ~general () |
Destructor. | |
virtual scalar | sample () const |
Sample the pdf. | |
virtual scalar | minValue () const |
Return the minimum value. | |
virtual scalar | maxValue () const |
Return the maximum value. | |
![]() | |
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. |
Additional Inherited Members | |
![]() | |
static autoPtr< pdf > | New (const dictionary &dict, Random &rndGen) |
Selector. | |
![]() | |
virtual void | check () const |
Check that the PDF is valid. | |
![]() | |
const dictionary | pdfDict_ |
Coefficients dictionary. | |
Random & | rndGen_ |
Reference to the randmo number generator. |
general | ( | const dictionary & | dict, |
Random & | rndGen | ||
) |
Construct from components.
Definition at line 42 of file general.C.
References pdf::check(), d, k(), Foam::y0(), and Foam::y1().
TypeName | ( | "general" | ) |
Runtime type information.
|
virtual |
Sample the pdf.
Implements pdf.
Definition at line 85 of file general.C.
References d, k(), Foam::mag(), p, Foam::sqrt(), and y.
|
virtual |
|
virtual |