:orphan: # KSPFinalizePackage This function destroys everything in the Petsc interface to the KSP package. It is called from PetscFinalize(). ## Synopsis ``` PetscErrorCode KSPFinalizePackage(void) ``` ## See Also [](ch_ksp), `PetscFinalize()`, `KSPInitializePackage()` ## Level developer ## Location src/ksp/ksp/interface/dlregisksp.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/dlregisksp.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)