Skip to main content
`Ctrl`+`K`

# TSRK

ODE and DAE solver using Runge-Kutta schemes The user should provide the right-hand side of the equation using `TSSetRHSFunction()`.

## Notes

The default is `TSRK3BS`, it can be changed with `TSRKSetType()` or -ts_rk_type

## See Also

TS: Scalable ODE and DAE Solvers, `TSCreate()`, `TS`, `TSRK`, `TSSetType()`, `TSRKSetType()`, `TSRKGetType()`, `TSRK2D`, `TSRK2E`, `TSRK3`, `TSRK4`, `TSRK5`, `TSRKPRSSP2`, `TSRKBPR3`, `TSRKType`, `TSRKRegister()`, `TSRKSetMultirate()`, `TSRKGetMultirate()`, `TSType`

## Level

beginner

## Location

src/ts/impls/explicit/rk/rk.c

## Examples

src/ts/tutorials/ex20opt_p.c
src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex16fwd.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/ts/tutorials/ex20adj.c
src/ts/tutorials/ex31.c
src/ts/tutorials/ex20.c
src/tao/unconstrained/tutorials/burgers_spectral.c
src/ts/tutorials/ex20td.c
src/ts/tutorials/ex20opt_ic.c

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