repo.or.cz
/
OpenFOAM-2.0.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git]
/
src
/
lagrangian
/
spray
/
submodels
/
BreakupModel
/
TAB
/
TABSMDCalcMethod1.H
blob
7c663ab391f98d3ff481dc165e697c48c8a1fe05
1
{
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;
13
}
14
15