← Back to team overview

yade-users team mailing list archive

[Question #226484]: What does "seed" in makeCloud really do?

 

New question #226484 on Yade:
https://answers.launchpad.net/yade/+question/226484

Hello,
In the makeCloud functor:
makeCloud([(Vector3)minCorner=Vector3(0, 0, 0)[, (Vector3)maxCorner=Vector3(0, 0, 0)[, (float)rMean=-1[, (float)rRelFuzz=0[, (int)num=-1[, (bool)periodic=False[, (float)porosity=0.65[, (object)psdSizes=[][, (object)psdCumm=[][, (bool)distributeMass=False[, (int)seed=0[, (Matrix3)hSize=Matrix3(0, 0, 0, 0, 0, 0, 0, 0, 0)]]]]]]]]]]]]) 
There is SEED parameter.
In the example it says
 "seed" make the "random" generation always the same

and in the yade document [1] it says:
seed – number used to initialize the random number generator.

and usually I use the recommended value seed=1.

I don't understand so clearly about its effect? Is there any other explanation that is more specific?
Thanks in advance.

Hien

[1] https://yade-dem.org/doc/yade.pack.html?highlight=seed

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.