KSPSetRhs

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

Synopsis

int KSPSetRhs(KSP ksp,Vec b)
Collective on KSP and Vec

Input Parameters

ksp - iterative context obtained from KSPCreate()
b - right-hand-side vector

Keywords

KSP, set, right-hand-side, rhs

See Also

KSPGetRhs(), KSPSetSolution()

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