SNESKSPONLY — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# SNESKSPONLY

Nonlinear solver that performs one Newton step with `KSPSolve()` and does not compute any norms.

## Note

The main purpose of this solver is to solve linear problems using the `SNES` interface, without any additional overhead in the form of vector norm operations.

## See Also

SNES: Nonlinear Solvers, `SNES`, `SNESType`, `SNESCreate()`, `SNES`, `SNESSetType()`, `SNESNEWTONLS`, `SNESNEWTONTR`, `SNESKSPTRANSPOSEONLY`

## Level

beginner

## Location

src/snes/impls/ksponly/ksponly.c

## Examples

src/snes/tutorials/ex64.c
src/snes/tutorials/ex11.c

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