#include "petscpc.h" PetscErrorCode PCShellSetMatApply(PC pc,PetscErrorCode (*matapply)(PC,Mat,Mat))Logically Collective on PC
pc | - the preconditioner context | |
apply | - the Section 1.5 Writing Application Codes with PETSc-provided preconditioning routine |
PetscErrorCode apply (PC pc,Mat Xin,Mat Xout)
pc | - the preconditioner, get the Section 1.5 Writing Application Codes with PETSc context with PCShellGetContext() | |
Xin | - input block of vectors | |
Xout | - output block of vectors |