petsc-3.6.2 2015-10-02
Report Typos and Errors

# PCGalerkinGetKSP

Gets the KSP object in the Galerkin PC.

### Synopsis

    #include "petscksp.h"
    PetscErrorCode  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