36 namespace distributionModels
52 value_(distributionModelDict_.
get<scalar>(
"value"))
57 <<
"Fixed value cannot be equal to or less than zero:" <<
nl 58 <<
" value = " << value_
73 Foam::scalar Foam::distributionModels::fixedValue::fixedValue::sample()
const 91 Foam::scalar Foam::distributionModels::fixedValue::fixedValue::meanValue()
const List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
constexpr char nl
The newline '\n' character (0x0a)
addToRunTimeSelectionTable(distributionModel, binned, dictionary)
fixedValue(const dictionary &dict, Random &rndGen)
Construct from components.
Macros for easy insertion into run-time selection tables.
defineTypeNameAndDebug(binned, 0)
Particle-size distribution model wherein samples are given fixed values.
A library of runtime-selectable doubly-truncated probability distribution models. Returns random samp...