# TSMPRKSetType
Set the type of `TSMPRK` scheme 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSMPRKSetType(TS ts, TSMPRKType mprktype)
```
Not collective


## Input Parameters

- ***ts -*** timestepping context
- ***mprktype -*** type of `TSMPRK` scheme



## Options Database Key

- ***-ts_mprk_type -*** <pm2,p2,p3> - select the specific scheme





## See Also
 [](chapter_ts), `TSMPRKGetType()`, `TSMPRK`, `TSMPRKType`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/multirate/mprk.c.html#TSMPRKSetType">src/ts/impls/multirate/mprk.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/multirate/mprk.c.html#TSMPRKSetType_MPRK">TSMPRKSetType_MPRK in src/ts/impls/multirate/mprk.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/multirate/mprk.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)  
