Public Member Functions | |
TypeName ("exponential") | |
Runtime type information. More... | |
exponential (const dictionary &dict, cachedRandom &rndGen) | |
Construct from components. More... | |
exponential (const exponential &p) | |
Construct copy. More... | |
virtual autoPtr< distributionModel > | clone () const |
Construct and return a clone. More... | |
virtual | ~exponential () |
Destructor. More... | |
virtual scalar | sample () const |
Sample the distributionModel. More... | |
virtual scalar | minValue () const |
Return the minimum value. More... | |
virtual scalar | maxValue () const |
Return the maximum value. More... | |
virtual scalar | meanValue () const |
Return the mean value. More... | |
![]() | |
TypeName ("distributionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, distributionModel, dictionary,(const dictionary &dict, cachedRandom &rndGen),(dict, rndGen)) | |
Declare runtime constructor selection table. More... | |
distributionModel (const word &name, const dictionary &dict, cachedRandom &rndGen) | |
Construct from dictionary. More... | |
distributionModel (const distributionModel &p) | |
Construct copy. More... | |
virtual | ~distributionModel () |
Destructor. More... | |
Private Attributes | |
scalar | minValue_ |
Distribution minimum. More... | |
scalar | maxValue_ |
Distribution maximum. More... | |
scalar | lambda_ |
Additional Inherited Members | |
![]() | |
static autoPtr< distributionModel > | New (const dictionary &dict, cachedRandom &rndGen) |
Selector. More... | |
![]() | |
virtual void | check () const |
Check that the distribution model is valid. More... | |
![]() | |
const dictionary | distributionModelDict_ |
Coefficients dictionary. More... | |
cachedRandom & | rndGen_ |
Reference to the random number generator. More... | |
Definition at line 50 of file exponential.H.
exponential | ( | const dictionary & | dict, |
cachedRandom & | rndGen | ||
) |
Construct from components.
Definition at line 43 of file exponential.C.
Referenced by exponential::clone().
exponential | ( | const exponential & | p | ) |
Construct copy.
Definition at line 57 of file exponential.C.
|
virtual |
Destructor.
Definition at line 68 of file exponential.C.
TypeName | ( | "exponential" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements distributionModel.
Definition at line 83 of file exponential.H.
References exponential::exponential().
|
virtual |
Sample the distributionModel.
Implements distributionModel.
Definition at line 74 of file exponential.C.
References Foam::exp(), Foam::log(), and y.
|
virtual |
Return the minimum value.
Implements distributionModel.
Definition at line 82 of file exponential.C.
|
virtual |
Return the maximum value.
Implements distributionModel.
Definition at line 88 of file exponential.C.
|
virtual |
|
private |
Distribution minimum.
Definition at line 57 of file exponential.H.
|
private |
Distribution maximum.
Definition at line 60 of file exponential.H.
|
private |
Definition at line 65 of file exponential.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.