PetscRandomGetOptionsPrefix#

Gets the prefix used for searching for all PetscRandom options in the database.

Synopsis#

#include "petscsys.h" 
PetscErrorCode PetscRandomGetOptionsPrefix(PetscRandom r, const char *prefix[])

Not Collective

Input Parameter#

  • r - the random number generator context

Output Parameter#

  • prefix - pointer to the prefix string used

See Also#

PetscRandom, PetscRandomSetOptionsPrefix(), PetscRandomAppendOptionsPrefix()

Level#

advanced

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