TSGetType#

Gets the TS method type (as a string) that is being used to solve the ODE with the given TS

Synopsis#

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

Not Collective

Input Parameter#

  • ts - The TS

Output Parameter#

Note#

type should not be retained for later use as it will be an invalid pointer if the TSType of ts is changed.

See Also#

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

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