PetscRandomDestroy

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

Synopsis

int PetscRandomDestroy(PetscRandom r)
Collective on PetscRandom

Intput Parameter

r -the random number generator context

Keywords

random, destroy

See Also

PetscRandomGetValue(), PetscRandomCreate(), VecSetRandom()

Examples

src/sles/examples/tutorials/ex11f.F
src/sles/examples/tutorials/ex2f.F
src/sles/examples/tutorials/ex4.c
src/sles/examples/tutorials/ex2.c
src/sles/examples/tutorials/ex11.c

Level:intermediate
Location:src/sys/src/utils/random.c
System Index
Table of Contents