# PCGalerkinGetKSP

Gets the KSP object in the Galerkin PC.

### Synopsis

    #include "petscpc.h"
    #include "petscksp.h"
    PetscErrorCode PETSCKSP_DLLEXPORT PCGalerkinGetKSP(PC pc,KSP *ksp)

Not Collective

### Input Parameter

pc -the preconditioner context

### Output Parameters

ksp -the KSP object

### Keywords

PC, get, Galerkin preconditioner, sub preconditioner

### See Also

PCCreate(), PCSetType(), PCType (for list of available types), PCGALERKIN,
PCGalerkinSetRestriction(), PCGalerkinSetInterpolation()

Level:Intermediate
Location:src/ksp/pc/impls/galerkin/galerkin.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages