#include "petscksp.h" PetscErrorCode KSPSetInitialGuessNonzero(KSP ksp,PetscBool flg)Logically Collective on KSP
ksp | - iterative context obtained from KSPCreate() | |
flg | - PETSC_TRUE indicates the guess is non-zero, PETSC_FALSE indicates the guess is zero |