#include <src/thermophysicalModels/pdfs/normal/normal.H>
Inheritance diagram for normal:
Collaboration diagram for normal:Public Member Functions | |
| TypeName ("normal") | |
| Runtime type information. | |
| normal (const dictionary &dict, Random &rndGen) | |
| Construct from components. | |
| virtual | ~normal () |
| Destructor. | |
| virtual scalar | sample () const |
| Sample the pdf. | |
| virtual scalar | minValue () const |
| Return the minimum value. | |
| virtual scalar | maxValue () const |
| Return the maximum value. | |
| scalar | erfInv (const scalar y) const |
Public Member Functions inherited from pdf | |
| 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 Public Member Functions inherited from pdf | |
| static autoPtr< pdf > | New (const dictionary &dict, Random &rndGen) |
| Selector. | |
Protected Member Functions inherited from pdf | |
| virtual void | check () const |
| Check that the PDF is valid. | |
Protected Attributes inherited from pdf | |
| const dictionary | pdfDict_ |
| Coefficients dictionary. | |
| Random & | rndGen_ |
| Reference to the randmo number generator. | |
| normal | ( | const dictionary & | dict, |
| Random & | rndGen | ||
| ) |
Construct from components.
Definition at line 43 of file normal.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
| TypeName | ( | "normal" | ) |
Runtime type information.
|
virtual |
Sample the pdf.
Implements pdf.
Definition at line 78 of file normal.C.
References b, Foam::erf(), Foam::max(), Foam::min(), and y.
|
virtual |
|
virtual |
| Foam::scalar erfInv | ( | const scalar | y | ) | const |
Definition at line 108 of file normal.C.
References h, k(), Foam::log(), Foam::mathematicalConstant::pi(), and Foam::sqrt().