Skip to main content
`Ctrl`+`K`

# KSP_NORM_NATURAL

Compute the ‘natural norm’ of residual sqrt((b - Ax)B(b - Ax)) and pass that to the convergence test routine. This is only supported by `KSPCG`, `KSPCR`, `KSPCGNE`, `KSPCGS`, `KSPFCG`, `KSPPIPEFCG`, `KSPPIPEGCR`

## See Also

KSP: Linear System Solvers, `KSPNormType`, `KSP`, `KSPSetNormType()`, `KSP_NORM_NONE`, `KSP_NORM_PRECONDITIONED`, `KSP_NORM_UNPRECONDITIONED`, `KSPSetConvergenceTest()`

## Level

advanced

## Location

include/petscksp.h

## Examples

src/snes/tutorials/ex11.c

Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages