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#

src/ksp/ksp/impls/idr/idr.c

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