SDA (SDA flex)  7.2
Simulation of Diffusional Association
RNG : Random Number Generator

Random Number Generator in SDA.

Random Number Generator in SDA.

documentation included in mod_par_zig.f90

SDA has two possible implementations for generating random numbers:

The implementation used is chosen at compile time. If OpenMP is activated the Ziggurat method is chosen, otherwise the original SDA 6 routine is used.
The thread-safe functions are declared in maths_thread_safe.f90 .
The original implementation is in randgen.f . The critical section is commented in the source code.

The Ziggurat method allows full parallelisation of sda_2proteins runs, and parallelisation of BD moves in sdamm simulations ( see make_bd_move_sdamm.f90 ).

Both implementations are initialised in read_input_file.f90 ( function initialize_random_generator ).

Imprint/Privacy