PETSCRANDOM123#

access to Random123 counter based pseudorandom number generators (currently threefry4x64)

Options Database Key#

  • -random_type (rander48|rand|rand48|sprng|random123|curand) - set the random number generator from the options database, see PetscRandomType.

Note#

PETSc must be ./configure with the option –download-random123 to use this random number generator.

See Also#

RandomCreate(), RandomSetType(), PETSCRAND, PETSCRAND48, PETSCSPRNG, PetscRandomSetFromOptions()

Level#

beginner

Location#

src/sys/classes/random/impls/random123/random123.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages