PETSCSPRNG#
access to the publicly available random number generator sprng
Options Database Key#
-random_type <rand,rand48,sprng> - select the random number generator at runtime
Note#
PETSc must be ./configure with the option –download-sprng to use this random number generator.
Developer Note#
This is NOT currently using a parallel random number generator. Sprng does have an MPI version we should investigate.
See Also#
RandomCreate()
, RandomSetType()
, PETSCRAND
, PETSCRAND48
, PetscRandomSetFromOptions()
Level#
beginner
Location#
src/sys/classes/random/impls/sprng/sprng.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages