:orphan:
# PCView
Prints information about the `PC`
## Synopsis
```
#include "petscksp.h"
PetscErrorCode PCView(PC pc, PetscViewer viewer)
```
Collective
## Input Parameters
- ***PC -*** the `PC` context
- ***viewer -*** optional visualization context
## Notes
The available visualization contexts include
- ***`PETSC_VIEWER_STDOUT_SELF` -*** standard output (default)
- ***`PETSC_VIEWER_STDOUT_WORLD` -*** synchronized standard
output where only the first processor opens
the file. All other processors send their
data to the first processor to print.
The user can open an alternative visualization contexts with
`PetscViewerASCIIOpen()` (output to a specified file).
## See Also
`PC`, `PetscViewer`, `KSPView()`, `PetscViewerASCIIOpen()`
## Level
developer
## Location
src/ksp/pc/interface/precon.c
## Examples
src/ksp/ksp/tutorials/ex15.c
## Implementations
PCView_AMGX in src/ksp/pc/impls/amgx/amgx.cxx
PCView_ASM in src/ksp/pc/impls/asm/asm.c
PCView_BDDC in src/ksp/pc/impls/bddc/bddc.c
PCView_BDDCIPC in src/ksp/pc/impls/bddc/bddc.c
PCView_BJacobi in src/ksp/pc/impls/bjacobi/bjacobi.c
PCView_BJKOKKOS in src/ksp/pc/impls/bjacobi/bjkokkos/bjkokkos.kokkos.cxx
PCView_Composite in src/ksp/pc/impls/composite/composite.c
PCView_Deflation in src/ksp/pc/impls/deflation/deflation.c
PCView_Eisenstat in src/ksp/pc/impls/eisens/eisen.c
PCView_Factor in src/ksp/pc/impls/factor/factimpl.c
PCView_FieldSplit in src/ksp/pc/impls/fieldsplit/fieldsplit.c
PCView_Galerkin in src/ksp/pc/impls/galerkin/galerkin.c
PCView_GAMG in src/ksp/pc/impls/gamg/gamg.c
PCView_GASM in src/ksp/pc/impls/gasm/gasm.c
PCView_H2OPUS in src/ksp/pc/impls/h2opus/pch2opus.c
PCView_HMG in src/ksp/pc/impls/hmg/hmg.c
PCView_HPDDM in src/ksp/pc/impls/hpddm/pchpddm.cxx
PCView_PFMG in src/ksp/pc/impls/hypre/hypre.c
PCView_SysPFMG in src/ksp/pc/impls/hypre/hypre.c
PCView_SMG in src/ksp/pc/impls/hypre/hypre.c
PCView_Jacobi in src/ksp/pc/impls/jacobi/jacobi.c
PCView_Kaczmarz in src/ksp/pc/impls/kaczmarz/kaczmarz.c
PCView_KSP in src/ksp/pc/impls/ksp/pcksp.c
PCView_LMVM in src/ksp/pc/impls/lmvm/lmvmpc.c
PCView_LSC in src/ksp/pc/impls/lsc/lsc.c
PCView_MG in src/ksp/pc/impls/mg/mg.c
PCView_Seq in src/ksp/pc/impls/mpi/pcmpi.c
PCView_MPI in src/ksp/pc/impls/mpi/pcmpi.c
PCView_PARMS in src/ksp/pc/impls/parms/parms.c
PCView_PATCH in src/ksp/pc/impls/patch/pcpatch.c
PCView_PBJacobi in src/ksp/pc/impls/pbjacobi/pbjacobi.c
PCView_Redistribute in src/ksp/pc/impls/redistribute/redistribute.c
PCView_Redundant in src/ksp/pc/impls/redundant/redundant.c
PCView_Shell in src/ksp/pc/impls/shell/shellpc.c
PCView_SOR in src/ksp/pc/impls/sor/sor.c
PCView_SPAI in src/ksp/pc/impls/spai/ispai.c
PCView_SVD in src/ksp/pc/impls/svd/svd.c
PCView_Telescope in src/ksp/pc/impls/telescope/telescope.c
PCView_TFS in src/ksp/pc/impls/tfs/tfs.c
PCView_VPBJacobi in src/ksp/pc/impls/vpbjacobi/vpbjacobi.c
PCView_Exotic in src/ksp/pc/impls/wb/wb.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/interface/precon.c)
[Index of all PC routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)