155#ifndef distributionModels_normal_H
156#define distributionModels_normal_H
164namespace distributionModels
173 public distributionModel
199 virtual autoPtr<distributionModel>
clone()
const
201 return autoPtr<distributionModel>(
new normal(*
this));
215 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 random samples are drawn from the doubly-truncated univariat...
virtual scalar meanValue() const
Return the theoretical mean of the distribution.
void operator=(const normal &)=delete
No copy assignment.
virtual autoPtr< distributionModel > clone() const
Construct and return a clone.
virtual scalar sample() const
Sample the distribution.
normal(const dictionary &dict, Random &rndGen)
Construct from components.
virtual ~normal()=default
Destructor.
TypeName("normal")
Runtime type information.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.