36namespace distributionModels
67 return rndGen_.position<scalar>(minValue_, maxValue_);
73 return 0.5*(minValue_ + maxValue_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
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...
virtual void check() const
Check that the distribution model is valid.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.