# KSPGuessSetUp
Setup the initial guess object 
## Synopsis
```
#include "petscksp.h"  
PetscErrorCode KSPGuessSetUp(KSPGuess guess)
```
Collective on guess


## Input Parameter

- ***guess -*** the initial guess context





## See Also
 [](chapter_ksp), `KSPGuessCreate()`, `KSPGuess`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/interface/iguess.c.html#KSPGuessSetUp">src/ksp/ksp/interface/iguess.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/guess/impls/fischer/fischer.c.html#KSPGuessSetUp_Fischer">KSPGuessSetUp_Fischer in src/ksp/ksp/guess/impls/fischer/fischer.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/guess/impls/pod/pod.c.html#KSPGuessSetUp_POD">KSPGuessSetUp_POD in src/ksp/ksp/guess/impls/pod/pod.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
