2 // calculate the new diameter with a Rosin Rammler distribution
4 scalar minValue = min(d, dD/10.0);
7 if(maxValue - minValue < SMALL)
12 scalar range = maxValue - minValue;
21 x = minValue + range*rndGen.sample01<scalar>();
22 y = rndGen.sample01<scalar>();
25 scalar xx = pow(x/dD, nExp);