Multiple superimposed normal distributions. More...


Public Member Functions | |
| TypeName ("multiNormal") | |
| Runtime type information. More... | |
| multiNormal (const dictionary &dict, Random &rndGen, const label sampleQ) | |
| Construct from a dictionary. More... | |
| multiNormal (const multiNormal &d, const label sampleQ) | |
| Construct copy. More... | |
| virtual autoPtr< distribution > | clone (const label sampleQ) const |
| Construct and return a clone. More... | |
| virtual | ~multiNormal () |
| Destructor. More... | |
| virtual scalar | sample () const |
| Sample the distribution. More... | |
| virtual scalar | min () const |
| Return the minimum value. More... | |
| virtual scalar | max () const |
| Return the maximum value. More... | |
| virtual tmp< scalarField > | x (const label n) const |
| Return coordinates to plot across the range of the distribution. More... | |
Public Member Functions inherited from FieldDistribution< unintegrableForNonZeroQ, multiNormal > | |
| virtual tmp< scalarField > | sample (const label n) const |
| Sample the distribution. More... | |
Multiple superimposed normal distributions.
{
type multiNormal;
Q 0;
min 0.001;
max 0.019;
mu (0.005 0.011 0.015);
sigma (0.002 0.001 0.0015);
strength (2 1 3);
}
Definition at line 72 of file multiNormal.H.
| multiNormal | ( | const dictionary & | dict, |
| Random & | rndGen, | ||
| const label | sampleQ | ||
| ) |
Construct from a dictionary.
Definition at line 113 of file multiNormal.C.
References Foam::abort(), dict, Foam::FatalIOError, FatalIOErrorInFunction, forAll, multiNormal::max(), multiNormal::min(), Foam::constant::physicoChemical::mu, Foam::nl, Foam::constant::physicoChemical::sigma, List< T >::size(), and Foam::type().
Referenced by multiNormal::clone().


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

|
virtual |
Sample the distribution.
Definition at line 225 of file multiNormal.C.
References n, Foam::fvm::S(), s(), and unintegrable::sample().

|
virtual |
Return the minimum value.
Definition at line 248 of file multiNormal.C.
Referenced by multiNormal::multiNormal().

|
virtual |
Return the maximum value.
Definition at line 254 of file multiNormal.C.
Referenced by multiNormal::multiNormal().

|
virtual |
Return coordinates to plot across the range of the distribution.
Definition at line 261 of file multiNormal.C.
References n.