KSPIDRGetRandom#
Gets the PetscRandom object used by the KSPIDR solver.
Synopsis#
#include "petscksp.h"
PetscErrorCode KSPIDRGetRandom(KSP ksp, PetscRandom *rand)
Collective
Input Parameter#
ksp - the Krylov solver context
Output Parameter#
rand - the random number generator context
See Also#
KSP: Linear System Solvers, KSPIDR, KSPIDRSetRandom(), KSPIDRSetCosine(), KSPIDRGetS()
Level#
advanced
Location#
Implementations#
KSPIDRGetRandom_IDR() in src/ksp/ksp/impls/idr/idr.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages