PCShellSetView#
Sets routine to use as viewer of a PCSHELL shell preconditioner
Synopsis#
#include "petscpc.h"
PetscErrorCode PCShellSetView(PC pc, PetscErrorCode (*view)(PC pc, PetscViewer v))
Logically Collective
Input Parameters#
pc - the preconditioner context
view - the application-provided view routine
Calling sequence of view#
pc - the preconditioner
v - viewer
Note#
You can get the PCSHELL context set with PCShellSetContext() using PCShellGetContext() if needed by view.
See Also#
KSP: Linear System Solvers, PC, PCSHELL, PCShellSetApplyRichardson(), PCShellSetSetUp(), PCShellSetApplyTranspose(), PCShellSetContext(), PCShellGetContext()
Level#
advanced
Location#
Implementations#
PCShellSetView_Shell(PC pc, PetscErrorCode (*view)() in src/ksp/pc/impls/shell/shellpc.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages