:orphan: # 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 ## 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()` ## See Also [](ch_matrices), `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorSolveSchurComplementTranspose()` ## Level advanced ## Location src/mat/interface/matrix.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/interface/matrix.c) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)