# KSPChebyshevEstEigGetKSP
Get the Krylov method context used to estimate eigenvalues for the Chebyshev method.  If a Krylov method is not being used for this purpose, NULL is returned.  The reference count of the returned `KSP` is not incremented: it should not be destroyed by the user. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode KSPChebyshevEstEigGetKSP(KSP ksp, KSP *kspest)
```

## Input Parameters

- ***ksp -*** the Krylov space context



## Output Parameters

- ***kspest -*** the eigenvalue estimation Krylov space context





## See Also
 [](chapter_ksp), `KSPCHEBYSHEV`, `KSPChebyshevEstEigSet()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/cheby/cheby.c.html#KSPChebyshevEstEigGetKSP">src/ksp/ksp/impls/cheby/cheby.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/cheby/cheby.c.html#KSPChebyshevEstEigGetKSP_Chebyshev">KSPChebyshevEstEigGetKSP_Chebyshev in src/ksp/ksp/impls/cheby/cheby.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/cheby/cheby.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)  
