: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/cheby/cheby.c.html#KSPChebyshevGetKind">src/ksp/ksp/impls/cheby/cheby.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/cheby/cheby.c.html#KSPChebyshevGetKind_Chebyshev">KSPChebyshevGetKind_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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
