:orphan: # TSMPRK ODE solver using Multirate Partitioned Runge-Kutta schemes The user should provide the right hand side of the equation using `TSSetRHSFunction()`. ## Note The default is `TSMPRKPM2`, it can be changed with `TSMPRKSetType()` or -ts_mprk_type ## See Also [](ch_ts), `TSCreate()`, `TS`, `TSSetType()`, `TSMPRKSetType()`, `TSMPRKGetType()`, `TSMPRKType`, `TSMPRKRegister()`, `TSMPRKSetMultirateType()` `TSMPRKM2`, `TSMPRKM3`, `TSMPRKRFSMR3`, `TSMPRKRFSMR2`, `TSType` ## Level beginner ## Location src/ts/impls/multirate/mprk.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)