petsc-3.3-p7 2013-05-11

MatSchurComplementGetKSP

Creates gets the KSP object that is used in the Schur complement matrix

Synopsis

#include "petscmat.h" 
#include "petscksp.h" 
PetscErrorCode  MatSchurComplementGetKSP(Mat A,KSP *ksp)
Not Collective

Input Parameter

A -matrix created with MatCreateSchurComplement()

Output Parameter

ksp -the linear solver object

Options Database

-fieldsplit_0_XXX sets KSP and PC options for the A block solver inside the Schur complement -

Notes

See Also

MatCreateNormal(), MatMult(), MatCreate(), MatSchurComplementGetKSP(), MatCreateSchurComplement()

Level:intermediate
Location:
src/ksp/ksp/utils/schurm.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages