36namespace distributionModels
52 value_(distributionModelDict_.get<scalar>(
"value"))
57 <<
"Fixed value cannot be equal to or less than zero:" <<
nl
58 <<
" value = " << value_
73Foam::scalar Foam::distributionModels::fixedValue::fixedValue::sample()
const
79Foam::scalar Foam::distributionModels::fixedValue::fixedValue::minValue()
const
85Foam::scalar Foam::distributionModels::fixedValue::fixedValue::maxValue()
const
91Foam::scalar Foam::distributionModels::fixedValue::fixedValue::meanValue()
const
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...
Particle-size distribution model wherein samples are given fixed values.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)