:orphan:
# TSSundialsGetPC
Extract the PC context from a time-step context for `TSSUNDIALS`.
## Synopsis
```
#include "petscts.h"
PetscErrorCode TSSundialsGetPC(TS ts, PC *pc)
```
## Input Parameter
- ***ts -*** the time-step context
## Output Parameter
- ***pc -*** the preconditioner context
## See Also
[](ch_ts), `TSSundialsGetIterations()`, `TSSundialsSetType()`, `TSSundialsSetMaxl()`,
`TSSundialsSetLinearTolerance()`, `TSSundialsSetGramSchmidtType()`, `TSSundialsSetTolerance()`,
`TSSundialsGetIterations()`, `TSSundialsSetType()`,
`TSSundialsSetLinearTolerance()`, `TSSundialsSetTolerance()`
## Level
advanced
## Location
src/ts/impls/implicit/sundials/sundials.c
## Implementations
TSSundialsGetPC_Sundials in src/ts/impls/implicit/sundials/sundials.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/implicit/sundials/sundials.c)
[Index of all TS routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)