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