[Gate-users] How to change engine seed antomatically?
vcai6204 at uni.sydney.edu.au
vcai6204 at uni.sydney.edu.au
Tue Dec 17 09:41:38 CET 2013
Hi,
To set up a random generator, you shall add the following statement in your .mac file.
/gate/run/initialize
[...]
# R A N D O M
/gate/random/setEngineName MersenneTwister
/gate/random/setEngineSeed default
/gate/random/setEngineSeed auto
/gate/random/verbose 0
Several types of random generators are proposed with GATE. Have a look at this link for further informations http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Architecture_of_the_simulation#Sources
Regards,
Vincent Caillet
Master 2 - Universit? Paris-Sud- Paris 11
Postgraduate Alumni of The University of Sydney
________________________________
From: gate-users-bounces at lists.opengatecollaboration.org <gate-users-bounces at lists.opengatecollaboration.org> on behalf of dme627b at gmail.com <dme627b at gmail.com>
Sent: Tuesday, 17 December 2013 08:54
To: GATE-mailingList<gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] How to change engine seed antomatically?
Hi all,
If the engine seed didn't be changed, the repetitive simulation results were the same.
In my work, I need to repeat the simulation thousand times with different engine seeds.
Thanks in advance!
Jeremy
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131217/991b0df4/attachment-0001.html>
More information about the Gate-users
mailing list