PCNONE — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PCNONE

This is used when you wish to employ a nonpreconditioned Krylov method.

## Developer Note

This is implemented by a `VecCopy()`. It would be nice if the `KSP` implementations could be organized to avoid this copy without making them more complex.

## See Also

KSP: Linear System Solvers, `PCCreate()`, `PCSetType()`, `PCType`, `PC`

## Level

beginner

## Location

src/ksp/pc/impls/none/none.c

## Examples

src/ksp/ksp/tutorials/ex27.c
src/tao/unconstrained/tutorials/eptorsion2.c
src/ksp/ksp/tutorials/ex60.c
src/ksp/ksp/tutorials/ex7.c
src/ts/tutorials/ex20opt_p.c
src/snes/tutorials/ex99.c
src/snes/tutorials/ex1.c
src/ts/tutorials/ex20opt_ic.c

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