Trouble with makeCloud's parameter "seed" and yadedaily
Hello,
I was trying to generate the same cloud of particles each time I run a script by setting the "seed" parameter of makeCloud at a fixed value. It works well when I run my script with yade 2018.02b but when I use yadedaily 20191105-
Here is a MWE:
##################
sp = SpherePack()
sp.makeCloud(
sp.toSimulation()
s = 0
for b in O.bodies: s += b.state.pos[0]
print(s)
##################
yade 2018.02b outputs 31.0396276461 every time I run the script .
yadedaily 20191105-
Is there something else to set with yadedaily in order to generate the same cloud twice?
Thanks in advance
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply: