#include "petscpc.h" PetscErrorCode PCShellSetView(PC pc,PetscErrorCode (*view)(PC,PetscViewer))Logically Collective on PC
pc | - the preconditioner context | |
view | - the Section 1.5 Writing Application Codes with PETSc-provided view routine |
PetscErrorCode view(PC pc,PetscViewer v)
pc | - the preconditioner, get the Section 1.5 Writing Application Codes with PETSc context with PCShellGetContext() | |
v | - viewer |