# TSIRKGetType
Get the type of `TSIRK` IMEX scheme being used 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSIRKGetType(TS ts, TSIRKType *irktype)
```
Logically collective


## Input Parameter

- ***ts -*** timestepping context



## Output Parameter

- ***irktype -*** type of `TSIRK` IMEX scheme





## See Also
 [](chapter_ts), `TSIRKGetType()`, `TSIRK`, `TSIRKType`, `TSIRKGAUSS`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/irk/irk.c.html#TSIRKGetType">src/ts/impls/implicit/irk/irk.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/irk/irk.c.html#TSIRKGetType_IRK">TSIRKGetType_IRK in src/ts/impls/implicit/irk/irk.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/implicit/irk/irk.c)


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