TSGetType — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# TSGetType

Gets the `TS` method type (as a string).

## Synopsis

    #include "petscts.h"
    PetscErrorCode TSGetType(TS ts, TSType *type)

Not Collective

## Input Parameter

- ts - The `TS`

## Output Parameter

- type - The name of `TS` method

## See Also

TS: Scalable ODE and DAE Solvers, `TS`, `TSType`, `TSSetType()`

## Level

intermediate

## Location

src/ts/interface/tsreg.c

## Examples

src/ts/tutorials/ex31.c

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