TSMPRK — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# 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

TS: Scalable ODE and DAE Solvers, `TSCreate()`, `TS`, `TSSetType()`, `TSMPRKSetType()`, `TSMPRKGetType()`, `TSMPRKType`, `TSMPRKRegister()`, `TSMPRKSetMultirateType()` `TSMPRKM2`, `TSMPRKM3`, `TSMPRKRFSMR3`, `TSMPRKRFSMR2`, `TSType`

## Level

beginner

## Location

src/ts/impls/multirate/mprk.c

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages