extern PetscErrorCode apply(PC,Vec,Vec);
extern PetscErrorCode applyba(PC,PCSide,Vec,Vec,Vec);
extern PetscErrorCode applytranspose(PC,Vec,Vec);
extern PetscErrorCode setup(PC);
extern PetscErrorCode destroy(PC);
PCCreate(comm,&pc);
PCSetType(pc,PCSHELL);
PCShellSetContext(pc,ctx)
PCShellSetApply(pc,apply);
PCShellSetApplyBA(pc,applyba); (optional)
PCShellSetApplyTranspose(pc,applytranspose); (optional)
PCShellSetSetUp(pc,setup); (optional)
PCShellSetDestroy(pc,destroy); (optional)
Level:advanced
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