petsc-3.10.5 2019-03-28
Report Typos and Errors

# PCView

Prints the PC data structure.

### Synopsis

    #include "petscksp.h"
    PetscErrorCode  PCView(PC pc,PetscViewer viewer)

Collective on PC

### Input Parameters

| PC | - the PC context
| viewer | - optional visualization context

### Note

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).

### Keywords

PC, view

### See Also

KSPView(), PetscViewerASCIIOpen()

### Level

developer

### Location

src/ksp/pc/interface/precon.c

### Examples

src/ksp/ksp/examples/tutorials/ex15.c.html

### Implementations

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_Composite in src/ksp/pc/impls/composite/composite.c
PCView_Eisenstat in src/ksp/pc/impls/eisens/eisen.c
PCView_Cholesky in src/ksp/pc/impls/factor/cholesky/cholesky.c
PCView_Factor in src/ksp/pc/impls/factor/factimpl.c
PCView_ICC in src/ksp/pc/impls/factor/icc/icc.c
PCView_ILU in src/ksp/pc/impls/factor/ilu/ilu.c
PCView_LU in src/ksp/pc/impls/factor/lu/lu.c
PCView_FieldSplit in src/ksp/pc/impls/fieldsplit/fieldsplit.c
PCView_FieldSplit_Schur in src/ksp/pc/impls/fieldsplit/fieldsplit.c
PCView_Galerkin in src/ksp/pc/impls/galerkin/galerkin.c
PCView_GAMG_AGG in src/ksp/pc/impls/gamg/agg.c
PCView_GAMG in src/ksp/pc/impls/gamg/gamg.c
PCView_GASM in src/ksp/pc/impls/gasm/gasm.c
PCView_HYPRE_Pilut in src/ksp/pc/impls/hypre/hypre.c
PCView_HYPRE_BoomerAMG in src/ksp/pc/impls/hypre/hypre.c
PCView_HYPRE_ParaSails in src/ksp/pc/impls/hypre/hypre.c
PCView_HYPRE_AMS in src/ksp/pc/impls/hypre/hypre.c
PCView_HYPRE_ADS in src/ksp/pc/impls/hypre/hypre.c
PCView_PFMG in src/ksp/pc/impls/hypre/hypre.c
PCView_SysPFMG in src/ksp/pc/impls/hypre/hypre.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_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_Exotic in src/ksp/pc/impls/wb/wb.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages