KSPSetRhs

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

Synopsis

#include "petscksp.h" 
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()

Level:developer
Location:
src/sles/ksp/interface/itfunc.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages