KSPSetSolution

Sets the location of the solution for the linear system to be solved.

Synopsis

int KSPSetSolution(KSP ksp, Vec x)
Collective on KSP and Vec

Input Parameters

ksp - iterative context obtained from KSPCreate()
x - solution vector

Keywords

KSP, set, solution

See Also

KSPSetRhs(), KSPGetSolution()

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