yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #10020
Re: [Question #253257]: generate a random number in the C++ code
Question #253257 on Yade changed:
https://answers.launchpad.net/yade/+question/253257
Klaus Thoeni posted a new comment:
Hi,
I am using boost's random number generators. I tested them and I am
very happy. Have a look in the code [1] and here [2].
Cheers,
Klaus
[1] https://github.com/yade/trunk/blob/master/pkg/dem/WirePM.cpp
[2] http://www.boost.org/doc/libs/1_55_0/doc/html/boost_random.html
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.