#include "petscsys.h" PetscErrorCode PetscRandomGetValueReal(PetscRandom r,PetscReal *val)Not Collective
PetscRandomCreate(PETSC_COMM_WORLD,&r);
PetscRandomGetValueReal(r,&value1);
PetscRandomGetValueReal(r,&value2);
PetscRandomGetValueReal(r,&value3);
PetscRandomDestroy(&r);
Level:intermediate
Location:src/sys/classes/random/interface/random.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages