#include "petscksp.h" PetscErrorCode PCGalerkinGetKSP(PC pc,KSP *ksp)Not Collective
Notes: Once you have called this routine you can call KSPSetOperators() on the resulting ksp to provide the operator for the Galerkin problem, an alternative is to use PCGalerkinSetComputeSubmatrix() to provide a routine that computes the submatrix as needed.
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages