#ifndef RANDOM_NUMBERS_GENERATOR_H #define RANDOM_NUMBERS_GENERATOR_H #include #include "simulation/parameter.h" #include "simulation/random_numbers.h" namespace generator { // return a shared_ptr to a RandomNumbers object // parameter has to have a json-object "RandomNumbers" in its root object // "RandomNumbers" has to contain a json-double "Seed" which specifies the seed // on mpi-process 0 (a different seed is calculated for all other mpi-processes) std::shared_ptr buildRandomNumbers(Parameter& parameter); }; #endif /* RANDOM_NUMBERS_GENERATOR_H */