petsc-3.3-p7 2013-05-11

PetscRandomType

String with the name of a PETSc randomizer with an optional dynamic library name, for example http://www.mcs.anl.gov/petsc/lib.a:myrandcreate()

Synopsis

#define PetscRandomType char*
#define PETSCRAND       "rand"
#define PETSCRAND48     "rand48"
#define PETSCSPRNG      "sprng"          

Notes: to use the SPRNG you must have ./configure PETSc with the option --download-sprng

See Also

PetscRandomSetType(), PetscRandom

Level:beginner
Location:
include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages