#include "petscpc.h" PetscErrorCode PCShellSetApplyBA(PC pc,PetscErrorCode (*applyBA)(PC,PCSide,Vec,Vec,Vec))Logically Collective on PC
pc | - the preconditioner context | |
applyBA | - the Section 1.5 Writing Application Codes with PETSc-provided BA routine |
PetscErrorCode applyBA (PC pc,Vec xin,Vec xout)
pc | - the preconditioner, get the Section 1.5 Writing Application Codes with PETSc context with PCShellGetContext() | |
xin | - input vector | |
xout | - output vector |