35 #ifndef distributionModelFixedValue_H 36 #define distributionModelFixedValue_H 44 namespace distributionModels
88 virtual scalar
sample()
const;
virtual scalar sample() const
Sample the distributionModel.
cachedRandom rndGen(label(0),-1)
virtual scalar maxValue() const
Return the maximum value.
virtual scalar minValue() const
Return the minimum value.
virtual scalar meanValue() const
Return the mean value.
fixedValue(const dictionary &dict, cachedRandom &rndGen)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual autoPtr< distributionModel > clone() const
Construct and return a clone.
virtual ~fixedValue()
Destructor.
TypeName("fixedValue")
Runtime type information.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...