CERN homepage INFN homepage
FLUKA: 2.2.11} Initialisation of the random number sequence Previous Index Next

2.2.11} Initialisation of the random number sequence

 -----------------------------------------------------
 The random number sequence used in a run is initialised by default by the
 seeds contained in file random.dat provided with the code. To calculate the
 statistical error of the results, it is necessary to perform other
 independent runs (at least 4 or 5), each with a different independent
 initialisation, using the seeds written by the program at the end of each
 run. The rfluka script provided with the code on UNIX and LINUX platforms
 takes care of this task, provided the following card is issued in the input
 file:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
RANDOMIZe 1.0 0.0 The seeds of the random number generator are printed on a special file in hexadecimal form at the end of each group of histories (the size of a group depends on the number of histories requested in the START card). Instead of getting the seeds from the last run, it is also possible to initialise directly another independent random number sequence by setting the second RANDOMIZe parameter equal to a different number, for instance:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
RANDOMIZe 1.0 1198.

Previous Index Next