default value of the seed parameter

Asked by Wojciech Sobieski

Hi,

what is the default value of the seed parameter? How to print it in YADE?

Wojtek.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Wojciech Sobieski
Solved:
Last query:
Last reply:
Revision history for this message
Chareyre (bruno-chareyre-9) said :
#1

Hi Wojtek,
It has no default value. If no value is assigned a random value is
generated.
Getting this random seed programmaticaly is possible in C++11 it seems:
http://stackoverflow.com/questions/10198758/how-to-get-current-seed-from-c-rand

Bruno

Revision history for this message
Wojciech Sobieski (wojciech-sobieski) said :
#2

Hi Bruno,

thank you for the answer (so quickly) and best Regards from Poland,

Wojtek.