32 namespace distributionModels
47 <<
type() <<
"distribution: Minimum value must be greater than " 48 <<
"zero." <<
nl <<
"Supplied minValue = " <<
minValue()
55 <<
type() <<
"distribution: Maximum value is smaller than the " 56 <<
"minimum value:" <<
nl <<
" maxValue = " <<
maxValue()
72 distributionModelDict_(dict.
subDict(name +
"Distribution")),
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
distributionModel(const word &name, const dictionary &dict, cachedRandom &rndGen)
Construct from dictionary.
defineRunTimeSelectionTable(distributionModel, dictionary)
defineTypeNameAndDebug(distributionModel, 0)
A class for handling words, derived from string.
virtual void check() const
Check that the distribution model is valid.
const dictionary distributionModelDict_
Coefficients dictionary.
errorManip< error > abort(error &err)
virtual ~distributionModel()
Destructor.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
cachedRandom & rndGen_
Reference to the random number generator.