PCShellSetSetUp

Sets routine to use to "setup" the preconditioner whenever the matrix operator is changed.

Synopsis

#include "petscpc.h" 
int PCShellSetSetUp(PC pc,int (*setup)(void*))
Collective on PC

Input Parameters

Calling sequence of setup

   int setup (void *ptr)

Keywords

PC, shell, set, setup, user-provided

See Also

PCShellSetApplyRichardson(), PCShellSetApply()

Level:developer
Location:
src/sles/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
setup - the application-provided setup routine
ptr - the application context