#include <src/thermophysicalModels/pdfs/normal/normal.H>
Definition at line 57 of file normal.H.
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 |
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.
Foam::scalar sample | ( | ) | const [virtual]
|
Sample the pdf.
Implements pdf.
Definition at line 78 of file normal.C.
References b, Foam::erf(), Foam::max(), Foam::min(), and y.
Foam::scalar minValue | ( | ) | const [virtual]
|
Foam::scalar maxValue | ( | ) | const [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().