17 uint32_t
make_seed(
int i,
int n) {
return static_cast<uint32_t
>(std::time(0)) % 10474949 + (i + 1) *
n + i; }
28 result = RNG::operator()();
helper functions for EinsplineSetBuilder
RNGThreadSafe< FakeRandom< OHMMS_PRECISION_FULL > > fake_random_global
RNGThreadSafe< RandomGenerator > random_global
result_type operator()() override
return a random number [0,1)
typename RNG::result_type result_type
uint32_t make_seed(int i, int n)
Declare a global Random Number Generator.