:orphan:
# KSPGuessSetFromOptions
Sets the options for a `KSPGuess` from the options database
## Synopsis
```
#include "petscksp.h"
PetscErrorCode KSPGuessSetFromOptions(KSPGuess guess)
```
Collective
## Input Parameter
- ***guess -*** `KSPGuess` object
## See Also
[](ch_ksp), `KSPGuess`, `KSPGetGuess()`, `KSPSetGuessType()`, `KSPGuessType`
## Level
developer
## Location
src/ksp/ksp/interface/iguess.c
## Implementations
KSPGuessSetFromOptions_Fischer in src/ksp/ksp/guess/impls/fischer/fischer.c
KSPGuessSetFromOptions_POD in src/ksp/ksp/guess/impls/pod/pod.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)