Updated random numbers
Previously there were 2 random number generator classes - Random
and cachedRandom
. These have been consolidated by:
- removing/deprecating the
Random
class - renaming the
cachedRandom
class toRandom
The Random
class now stores its own buffer and uses the re-entrant system random functions so that each instantiation is not affected by each call to (re-)initialise the random number seed. The caching of the random numbers is not required since the generator can be reset using the same initial seed.
Merge request reports
Activity
Filter activity
added 1 commit
- ab165237 - ENH: turbulentDFSEMInlet - ensure different procs initialise the random number g…
By Andrew Heather on 2017-04-28T09:01:54 (imported from GitLab project)
Please register or sign in to reply