30 inline Foam::scalar Foam::Random::scalar01()
32 return uniform01_(generator_);
40 return generator_() & 0x1;
53 generator_.seed(seed_);
void reset(const label seedValue)
Reset the random number generator seed.
label seed() const
The initial random number seed that was used.
int bit()
Return a random bit.