#include "petscpc.h" PetscErrorCode PCShellSetDestroy(PC pc,PetscErrorCode (*destroy)(PC))Logically Collective on PC
PetscErrorCode destroy (PC)
Notes: the function MUST return an error code of 0 on success and nonzero on failure.
Level:developer
Location:src/ksp/pc/impls/shell/shellpc.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages
pc | - the preconditioner context | |
destroy | - the application-provided destroy routine | |
ptr | - the application context |