#include "petscpc.h" PetscErrorCode PCShellSetApplySymmetricRight(PC pc,PetscErrorCode (*apply)(PC,Vec,Vec))Logically Collective on PC
pc | - the preconditioner context | |
apply | - the Section 1.5 Writing Application Codes with PETSc-provided right preconditioning routine |
PetscErrorCode apply (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 |