#define PetscRandomType char* #define PETSCRAND "rand" #define PETSCRAND48 "rand48" #define PETSCSPRNG "sprng" /* Logging support */ extern PetscClassId PETSC_RANDOM_CLASSID;
Notes: to use the SPRNG you must have ./configure PETSc with the option --download-sprng
Level:beginner
Location:include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages