#include "petscsys.h" PetscErrorCode PetscRandomSeed(PetscRandom r)Not collective
r | - The random number generator context |
PetscRandomSeed(r) without a call to PetscRandomSetSeed() re-initializes the seed. The random numbers generated will be the same as before.