TSARKIMEX#

ODE and DAE solver using additive Runge-Kutta IMEX schemes These methods are intended for problems with well-separated time scales, especially when a slow scale is strongly nonlinear such that it is expensive to solve with a fully implicit method. The user should provide the stiff part of the equation using TSSetIFunction() and the non-stiff part with TSSetRHSFunction().

Notes#

The default is TSARKIMEX3, it can be changed with TSARKIMEXSetType() or -ts_arkimex_type

If the equation is implicit or a DAE, then TSSetEquationType() needs to be set accordingly. Refer to the manual for further information.

Methods with an explicit stage can only be used with ODE in which the stiff part G(t,X,Xdot) has the form Xdot + Ghat(t,X).

Consider trying TSROSW if the stiff part is linear or weakly nonlinear.

See Also#

TS: Scalable ODE and DAE Solvers, TSCreate(), TS, TSSetType(), TSARKIMEXSetType(), TSARKIMEXGetType(), TSARKIMEXSetFullyImplicit(), TSARKIMEXGetFullyImplicit(), TSARKIMEX1BEE, TSARKIMEX2C, TSARKIMEX2D, TSARKIMEX2E, TSARKIMEX3, TSARKIMEXL2, TSARKIMEXA2, TSARKIMEXARS122, TSARKIMEX4, TSARKIMEX5, TSARKIMEXPRSSP2, TSARKIMEXARS443, TSARKIMEXBPR3, TSARKIMEXType, TSARKIMEXRegister(), TSType

Level#

beginner

Location#

src/ts/impls/arkimex/arkimex.c

Examples#

src/ts/tutorials/ex31.c
src/ts/tutorials/ex20adj.c
src/ts/tutorials/ex25.c
src/ts/tutorials/extchem.c
src/ts/tutorials/ex22.c
src/ts/tutorials/ex29.c
src/ts/tutorials/extchemfield.c
src/ts/tutorials/ex35.cxx
src/ts/tutorials/ex36.c


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