# KSPRegisterAll
Registers all of the Krylov subspace methods in the `KSP` package. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode KSPRegisterAll(void)
```
Not Collective




## See Also
 [](chapter_ksp), `KSP`, `KSPRegister()`, `KSPType`

## Level
advanced

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


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