#include "petscpc.h" PetscErrorCode PCShellSetSetUp(PC pc,PetscErrorCode (*setup)(PC))Logically Collective on PC
pc | - the preconditioner context | |
setup | - the application-provided setup routine | |
pc | - the preconditioner, get the application context with PCShellGetContext() |