#include "petscsys.h" PetscErrorCode PetscRandomSetSeed(PetscRandom r,unsigned long seed)Not collective Many br
r | - The random number generator context Many br | |
seed | - The random seed Many br |
Many br
PetscRandomSeed(r) without a call to PetscRandomSetSeed() re-initializes Many brthe seed. The random numbers generated will be the same as before. Many br
Level:intermediate
Location:src/sys/classes/random/interface/randomc.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages