// -*- C++ -*- #ifndef __SCHOOL_SCHOOL_RNG_H__ #define __SCHOOL_SCHOOL_RNG_H__ 1 // std includes #include namespace school { /* We need random number genrator. In C++11 there are many * random number genreator available. We want to have a global * generator that every routine can use and we don't have to always * pass through this information. We use mt19937_64 as defult generator in * namespace nlo. This can be changed if it is needed... */ extern std::mt19937_64 _G_random_engine; } #endif