KSPSetInitialGuessNonzero

Tells the iterative solver that the initial guess is nonzero; otherwise KSP assumes the initial guess is to be zero (and thus zeros it out before solving).

Synopsis

int KSPSetInitialGuessNonzero(KSP ksp)
Collective on KSP

Input Parameters

ksp -iterative context obtained from KSPCreate()

Keywords

KSP, set, initial guess, nonzero

Examples

src/sles/examples/tutorials/ex3.c
src/sles/examples/tutorials/ex9.c
src/gvec/examples/tutorials/ex2.c
src/gvec/examples/tutorials/ex6.c

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