Go to the documentation of this file.
70 #ifndef distributionModels_fixedValue_H
71 #define distributionModels_fixedValue_H
79 namespace distributionModels
87 public distributionModel
126 virtual scalar
sample()
const;
virtual ~fixedValue()=default
Destructor.
virtual scalar minValue() const
Return the minimum of the distribution.
Particle-size distribution model wherein samples are given fixed values.
TypeName("fixedValue")
Runtime type information.
A library of runtime-selectable doubly-truncated probability distribution models. Returns random samp...
void operator=(const fixedValue &)=delete
No copy assignment.
virtual scalar meanValue() const
Return the theoretical mean of the distribution.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual scalar maxValue() const
Return the maximum of the distribution.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual autoPtr< distributionModel > clone() const
Construct and return a clone.
fixedValue(const dictionary &dict, Random &rndGen)
Construct from components.
virtual scalar sample() const
Sample the distribution.