Go to the documentation of this file.
180 #ifndef distributionModels_multiNormal_H
181 #define distributionModels_multiNormal_H
189 namespace distributionModels
198 public distributionModel
210 List<scalar> weight_;
228 virtual autoPtr<distributionModel>
clone()
const
230 return autoPtr<distributionModel>(
new multiNormal(*
this));
244 virtual scalar
sample()
const;
const dimensionedScalar mu
Atomic mass unit.
TypeName("multiNormal")
Runtime type information.
A library of runtime-selectable doubly-truncated probability distribution models. Returns random samp...
Particle-size distribution model wherein random samples are drawn from a mixture of a finite set of d...
void operator=(const multiNormal &)=delete
No copy assignment.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual autoPtr< distributionModel > clone() const
Construct and return a clone.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual scalar meanValue() const
Return the theoretical mean of the distribution.
virtual ~multiNormal()=default
Destructor.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
virtual scalar sample() const
Sample the distribution.
multiNormal(const dictionary &dict, Random &rndGen)
Construct from components.