Skip to main content
Ctrl+K
PETSc v3.26.0-193-g472ab9778c44 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • KSP_NORM_NATURAL

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/ksp/ksp/tests/ex94.c
src/snes/tutorials/ex11.c


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

On this page
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-10-21T03:42:00-0500 (v3.26.0-193-g472ab9778c44).