PetscRandomSeed

Seed the generator.

Synopsis

#include "petscsys.h" 
PetscErrorCode PETSC_DLLEXPORT PetscRandomSeed(PetscRandom r)
Not collective

Input Parameters

r -The random number generator context

See Also

PetscRandomCreate(), PetscRandomGetSeed(), PetscRandomSetSeed()

Level:intermediate
Location:
src/sys/utils/random.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages