petsc-3.14.6 2021-03-30
Report Typos and Errors

KSPCheckNorm

Checks if the result of a norm used by the corresponding KSP contains Inf or NaN. These indicate that the previous application of the preconditioner generated an error Collective on ksp

Input Parameter

ksp - the linear solver (KSP) context.

Output Parameter

beta - the result of the norm

Developer Note

this is used to manage returning from KSP solvers whose preconditioners have failed in some way

See Also

KSPCreate(), KSPSetType(), KSP, KSPCheckDot(), KSPCheckSolve()

Level

developer

Location

src/ksp/ksp/guess/../../../../include/petsc/private/kspimpl.h
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages