KSPSetSolution

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

Synopsis

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

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