#include <src/thermophysicalModels/pdfs/general/general.H>
Definition at line 51 of file 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.
|
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.
Foam::scalar sample | ( | ) | const [virtual]
|
Sample the pdf.
Implements pdf.
Definition at line 85 of file general.C.
References d, k(), Foam::mag(), p, Foam::sqrt(), and y.
Foam::scalar minValue | ( | ) | const [virtual]
|
Foam::scalar maxValue | ( | ) | const [virtual]
|