PetscRandom#

Abstract PETSc object that manages generating random numbers

Synopsis#

typedef struct _p_PetscRandom *PetscRandom;

See Also#

PetscRandomCreate(), PetscRandomGetValue(), PetscRandomType

Level#

intermediate

Location#

include/petscsystypes.h

Examples#

src/tao/bound/tutorials/plate2.c
src/dm/tutorials/swarm_ex3.c
src/dm/field/tutorials/ex1.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/vec/vec/tutorials/ex19.c
src/tao/tutorials/ex4.c
src/vec/vec/tutorials/performance.c
src/tao/unconstrained/tutorials/minsurf2.c
src/tao/bound/tutorials/plate2f.F90
src/vec/vec/utils/tagger/tutorials/ex1.c

Implementations#

_p_PetscRandom in include/petsc/private/randomimpl.h
PetscRandom_CURAND in src/sys/classes/random/impls/curand/curand.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages