petsc-3.8.4 2018-03-24
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
See Also
PetscRandomGetValue(), PetscRandomCreate(), VecSetRandom()
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
Examples
src/sys/classes/random/examples/tutorials/ex1.c.html
src/sys/classes/random/examples/tutorials/ex2.c.html
src/vec/vec/utils/tagger/examples/tutorials/ex1.c.html
src/ksp/pc/examples/tutorials/ex3.c.html
src/ksp/ksp/examples/tutorials/ex2.c.html
src/ksp/ksp/examples/tutorials/ex5.c.html
src/ksp/ksp/examples/tutorials/ex11.c.html
src/ksp/ksp/examples/tutorials/ex18.c.html
src/ksp/ksp/examples/tutorials/ex46.c.html
src/ksp/ksp/examples/tutorials/ex52.c.html
src/ksp/ksp/examples/tutorials/ex2f.F.html