TSType — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# TSType

String with the name of a PETSc `TS` method.

## Synopsis

    #include <petscts.h>
    typedef const char *TSType;
    #define TSEULER           "euler"
    #define TSBEULER          "beuler"
    #define TSBASICSYMPLECTIC "basicsymplectic"
    #define TSPSEUDO          "pseudo"
    #define TSCN              "cn"
    #define TSSUNDIALS        "sundials"
    #define TSRK              "rk"
    #define TSPYTHON          "python"
    #define TSTHETA           "theta"
    #define TSALPHA           "alpha"
    #define TSALPHA2          "alpha2"
    #define TSGLLE            "glle"
    #define TSGLEE            "glee"
    #define TSSSP             "ssp"
    #define TSARKIMEX         "arkimex"
    #define TSROSW            "rosw"
    #define TSEIMEX           "eimex"
    #define TSMIMEX           "mimex"
    #define TSBDF             "bdf"
    #define TSRADAU5          "radau5"
    #define TSMPRK            "mprk"
    #define TSDISCGRAD        "discgrad"
    #define TSIRK             "irk"
    #define TSDIRK            "dirk"

## See Also

Summary of Time Integrators Available In PETSc, TS: Scalable ODE and DAE Solvers, `TSSetType()`, `TS`, `TSRegister()`

## Level

beginner

## Location

include/petscts.h

## Examples

src/ts/tutorials/ex31.c

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