KSPGetRhs

Gets the right-hand-side vector for the linear system to be solved.

Synopsis

int KSPGetRhs(KSP ksp,Vec *r)
Not Collective

Input Parameter

ksp -iterative context obtained from KSPCreate()

Output Parameter

r -right-hand-side vector

Keywords

KSP, get, right-hand-side, rhs

See Also

KSPSetRhs(), KSPGetSolution()

Location: src/ksp/interface/itfunc.c
KSP Index
Table of Contents