petsc-3.14.5 2021-03-03
Report Typos and Errors

# MatFactorSolveSchurComplement

Solve the Schur complement system computed during the factorization step

### Synopsis

    #include "petscmat.h"
    PetscErrorCode MatFactorSolveSchurComplement(Mat F, Vec rhs, Vec sol)

Logically Collective on Mat

### Input Parameters

| F | - the factored matrix obtained by calling MatGetFactor()
| rhs | - location where the right hand side of the Schur complement system is stored
| sol | - location where the solution of the Schur complement system has to be returned

### Notes

The sizes of the vectors should match the size of the Schur complement

Must be called after MatFactorSetSchurIS()

### References

### See Also

MatGetFactor(), MatFactorSetSchurIS(), MatFactorSolveSchurComplementTranspose()

### Level

advanced

### Location

src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages