PCGetKSPNestLevel — PETSc 3.24.5 documentation

Skip to main content
`Ctrl`+`K`

# PCGetKSPNestLevel

gets the amount of nesting the `KSP` that contains this `PC` has

## Synopsis

    #include "petscksp.h"
    PetscErrorCode PCGetKSPNestLevel(PC pc, PetscInt *level)

Not Collective

## Input Parameter

- pc - the `PC`

## Output Parameter

- level - the nest level

## See Also

KSP: Linear System Solvers, `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPGMRES`, `KSPType`, `KSPSetNestLevel()`, `PCSetKSPNestLevel()`, `KSPGetNestLevel()`

## Level

developer

## Location

src/ksp/pc/interface/precon.c

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