MatFactorSchurStatus — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# MatFactorSchurStatus

Records the current state of the dense Schur complement that is maintained by a factored matrix when a user has requested its formation with `MatFactorSetSchurIS()`

## Synopsis

    typedef enum {
      MAT_FACTOR_SCHUR_UNFACTORED,
      MAT_FACTOR_SCHUR_FACTORED,
      MAT_FACTOR_SCHUR_INVERTED
    } MatFactorSchurStatus;

## Values

- `MAT_FACTOR_SCHUR_UNFACTORED` - the Schur complement has been assembled but has not yet been factored or inverted

- `MAT_FACTOR_SCHUR_FACTORED` - the Schur complement has been factored (for example via dense LU) and can be used to solve via `MatFactorSolveSchurComplement()`

- `MAT_FACTOR_SCHUR_INVERTED` - the Schur complement has been explicitly inverted in place; subsequent solves multiply by the dense inverse

## See Also

Matrices, `Mat`, `MatFactorSetSchurIS()`, `MatFactorGetSchurComplement()`, `MatFactorRestoreSchurComplement()`, `MatFactorInvertSchurComplement()`, `MatFactorCreateSchurComplement()`

## Level

advanced

## Location

include/petscmat.h

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages