:orphan:
# PCTFS
A parallel direct solver intended for problems with very few unknowns (like the coarse grid in multigrid). Performs a Cholesky or LU factorization of a matrix defined by its local matrix vector product.
## Notes
Only implemented for the `MATMPIAIJ` matrices
Only works on a solver object that lives on all of `PETSC_COMM_WORLD`!
Only works for real numbers (is not built if `PetscScalar` is complex)
Implemented by Henry M. Tufo III and Paul Fischer originally for Nek5000 and called XXT or XYT
## See Also
`PCCreate()`, `PCSetType()`, `PCType`, `PC`
## Level
beginner
## Location
src/ksp/pc/impls/tfs/tfs.c
## Implementations
PCTFS_giop in src/ksp/pc/impls/tfs/comm.c
PCTFS_grop in src/ksp/pc/impls/tfs/comm.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/tfs/tfs.c)
[Index of all PC routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)