[Gmsh] Random number with Rand(X)

mathieu priser mathieu.priser at gmail.com
Wed Dec 7 12:27:21 CET 2011


Hello,

I'm using Rand(1) command to generate random numbers between 0 and 1 in a
gmsh script.

Gmsh script is working well but when I run the same script a second time,
it gives me the same random numbers list whereas I'd like to have a new
drawing.

How can we have a new random distribution each time the script is launched ?

Best regards

M. Priser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111207/0832608d/attachment.html>