# PCFieldSplitGetSchurBlocks
Gets all matrix blocks for the Schur complement 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCFieldSplitGetSchurBlocks(PC pc, Mat *A00, Mat *A01, Mat *A10, Mat *A11)
```
Collective


## Input Parameter

- ***pc -*** the preconditioner context



## Output Parameters

- ***A00 -*** the (0,0) block
- ***A01 -*** the (0,1) block
- ***A10 -*** the (1,0) block
- ***A11 -*** the (1,1) block





## See Also
 [](sec_block_matrices), `PC`, `PCFIELDSPLIT`, `MatSchurComplementGetSubMatrices()`, `MatSchurComplementSetSubMatrices()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/fieldsplit/fieldsplit.c.html#PCFieldSplitGetSchurBlocks">src/ksp/pc/impls/fieldsplit/fieldsplit.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/fieldsplit/fieldsplit.c)


[Index of all PC routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
