7 scalar factorGamma = 1.;
8 scalar delta = dD/factorGamma;
12 scalar minValue = dD/10.0;
18 if (maxValue - minValue < small)
20 minValue = maxValue/20.0;
26 FixedList<scalar, 500>
rrd;
27 scalar probFactorMin =
exp(-
pow(minValue/delta, nExp));
28 scalar probFactorMax =
exp(-
pow(maxValue/delta, nExp));
33 scalar xx = minValue + range*
n/500;
34 rrd[
n] = (probFactorMin -
exp(-
pow(xx/delta, nExp)))*probFactor;
40 scalar y =
rndGen.sample01<scalar>();
43 while(!success && (k<500))
52 x = minValue + range*(k - 0.5)/500.0;
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
FixedList< scalar, 500 > rrd