:orphan: # KSPGetNormType Gets the norm that is used for convergence testing. ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPGetNormType(KSP ksp, KSPNormType *normtype) ``` Not Collective ## Input Parameter - ***ksp -*** Krylov solver context ## Output Parameter - ***normtype -*** norm that is used for convergence testing ## See Also `KSPNormType`, `KSPSetNormType()`, `KSPConvergedSkip()` ## Level advanced ## Location src/ksp/ksp/interface/itcreate.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/itcreate.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)