Exponential distribution, scaled so that it spans between a specified minimum and maximum value, rather than from zero to infinity. More...


Public Member Functions | |
| TypeName ("exponential") | |
| Runtime type information. More... | |
| exponential (const unitConversion &units, const dictionary &dict, const label sampleQ, randomGenerator &&rndGen) | |
| Construct from a dictionary. More... | |
| exponential (const exponential &d, const label sampleQ) | |
| Construct copy. More... | |
| virtual autoPtr< distribution > | clone (const label sampleQ) const |
| Construct and return a clone. More... | |
| virtual | ~exponential () |
| Destructor. More... | |
| virtual scalar | sampleForZeroQ () const |
| Sample the distribution for zero effective size exponent. More... | |
| virtual scalar | min () const |
| Return the minimum value. More... | |
| virtual scalar | max () const |
| Return the maximum value. More... | |
| virtual void | write (Ostream &os, const unitConversion &units) const |
| Write to a stream. More... | |
| virtual tmp< scalarField > | plotX (const label n) const |
| Return coordinates to plot across the range of the distribution. More... | |
Public Member Functions inherited from FieldDistribution< unintegrableForNonZeroQ, exponential > | |
| Type | sample () const |
| Sample the distribution into components of a primitive type. More... | |
| virtual tmp< scalarField > | sample (const label n) const |
| Sample the distribution into a field. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from FieldDistribution< unintegrableForNonZeroQ, exponential > | |
| FOR_ALL_FIELD_TYPES (VIRTUAL_SAMPLE_TYPE) | |
Exponential distribution, scaled so that it spans between a specified minimum and maximum value, rather than from zero to infinity.
{
type exponential;
Q 3;
min 0.01;
max 0.5;
lambda 3;
}
Definition at line 70 of file exponential.H.
| exponential | ( | const unitConversion & | units, |
| const dictionary & | dict, | ||
| const label | sampleQ, | ||
| randomGenerator && | rndGen | ||
| ) |
Construct from a dictionary.
Definition at line 64 of file exponential.C.
Referenced by exponential::clone().

| exponential | ( | const exponential & | d, |
| const label | sampleQ | ||
| ) |
Construct copy.
Definition at line 90 of file exponential.C.
|
virtual |
Destructor.
Definition at line 105 of file exponential.C.
| TypeName | ( | "exponential" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 122 of file exponential.H.
References exponential::exponential().

|
virtual |
Sample the distribution for zero effective size exponent.
Definition at line 111 of file exponential.C.
References Foam::log(), and s().

|
virtual |
Return the minimum value.
Definition at line 120 of file exponential.C.
|
virtual |
Return the maximum value.
Definition at line 126 of file exponential.C.
|
virtual |
Write to a stream.
Definition at line 132 of file exponential.C.
References Foam::unitless, Foam::units(), Foam::vtkWriteOps::write(), and Foam::writeEntry().

|
virtual |
Return coordinates to plot across the range of the distribution.
Definition at line 147 of file exponential.C.
References Foam::max(), n, distribution::plotX(), and tmp< T >::ref().
