Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / src / lagrangian / spray / submodels / BreakupModel / TAB / TABSMDCalcMethod1.H
blob7c663ab391f98d3ff481dc165e697c48c8a1fe05
2     bool found = false;
3     scalar random = rndGen.sample01<scalar>();
4     while (!found && (n<99))
5     {
6         if (rrd_[n]>random)
7         {
8             found = true;
9         }
10         n++;
11     }
12     rNew = 0.04*n*rs;