:orphan:
# TSRKGetType
Get the type of `TSRK` scheme
## Synopsis
```
#include "petscts.h"
PetscErrorCode TSRKGetType(TS ts, TSRKType *rktype)
```
Not Collective
## Input Parameter
- ***ts -*** timestepping context
## Output Parameter
- ***rktype -*** type of `TSRK`-scheme
## See Also
[](ch_ts), `TSRKSetType()`
## Level
intermediate
## Location
src/ts/impls/explicit/rk/rk.c
## Implementations
TSRKGetType_RK in src/ts/impls/explicit/rk/rk.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/explicit/rk/rk.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)