:orphan:
# KSPChebyshevGetKind
get the kind of Chebyshev polynomial to use
## Synopsis
```
#include "petscksp.h"
PetscErrorCode KSPChebyshevGetKind(KSP ksp, KSPChebyshevKind *kind)
```
Logically Collective
## Input Parameters
- ***ksp -*** Linear solver context
- ***kind -*** The kind of Chebyshev polynomial to use
## See Also
[](ch_ksp), `KSPCHEBYSHEV` `KSPChebyshevKind`, `KSPChebyshevSetKind()`
## Level
intermediate
## Location
src/ksp/ksp/impls/cheby/cheby.c
## Implementations
KSPChebyshevGetKind_Chebyshev in src/ksp/ksp/impls/cheby/cheby.c
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)