PetscRandomDestroy

Destroys a context that has been formed by PetscRandomCreate().

Synopsis

#include "petscsys.h" 
PetscErrorCode  PetscRandomDestroy(PetscRandom *r)
Collective on PetscRandom

Intput Parameter

r - the random number generator context

Level: intermediate

See Also

PetscRandomGetValue(), PetscRandomCreate(), VecSetRandom()

Location:randomc.c