#include "petscksp.h" PetscErrorCode KSPSetComputeInitialGuess(KSP ksp,PetscErrorCode (*func)(KSP,Vec,void*),void *ctx)Logically Collective
ksp | - the KSP context | |
func | - function to compute the initial guess | |
ctx | - optional context |
func(KSP ksp,Vec x,void *ctx)
ksp | - the KSP context | |
x | - solution vector | |
ctx | - optional user-provided context |
Level:beginner
Location:src/ksp/ksp/interface/itfunc.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages