:orphan: # KSPGuessGetType Gets the `KSPGuessType` as a string from the `KSPGuess` object. ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPGuessGetType(KSPGuess guess, KSPGuessType *type) ``` Not Collective ## Input Parameter - ***guess -*** the initial guess context ## Output Parameter - ***name -*** type of `KSPGuess` method ## See Also [](ch_ksp), `KSPGuess`, `KSPGuessSetType()` ## Level developer ## Location src/ksp/ksp/interface/iguess.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/iguess.c) [Index of all KSP routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)