:orphan: # TSView Prints the `TS` data structure. ## Synopsis ``` #include "petscts.h" PetscErrorCode TSView(TS ts, PetscViewer viewer) ``` Collective ## Input Parameters - ***ts -*** the `TS` context obtained from `TSCreate()` - ***viewer -*** visualization context ## Options Database Key - ***-ts_view -*** calls `TSView()` at end of `TSStep()` ## Notes The available visualization contexts include - ***`PETSC_VIEWER_STDOUT_SELF` -*** standard output (default) - ***`PETSC_VIEWER_STDOUT_WORLD` -*** synchronized standard output where only the first processor opens the file. All other processors send their data to the first processor to print. The user can open an alternative visualization context with `PetscViewerASCIIOpen()` - output to a specified file. In the debugger you can do call `TSView`(ts,0) to display the `TS` solver. (The same holds for any PETSc object viewer). ## See Also [](ch_ts), `TS`, `PetscViewer`, `PetscViewerASCIIOpen()` ## Level beginner ## Location src/ts/interface/ts.c ## Examples src/ts/tutorials/ex28.c
src/ts/tutorials/ex3.c
src/ts/tutorials/ex5.c
src/ts/tutorials/ex6.c
## Implementations TSView_ARKIMEX in src/ts/impls/arkimex/arkimex.c
TSView_BDF in src/ts/impls/bdf/bdf.c
TSView_EIMEX in src/ts/impls/eimex/eimex.c
TSView_Euler in src/ts/impls/explicit/euler/euler.c
TSView_RK in src/ts/impls/explicit/rk/rk.c
TSView_SSP in src/ts/impls/explicit/ssp/ssp.c
TSView_GLEE in src/ts/impls/glee/glee.c
TSView_Alpha in src/ts/impls/implicit/alpha/alpha1.c
TSView_Alpha in src/ts/impls/implicit/alpha/alpha2.c
TSView_DiscGrad in src/ts/impls/implicit/discgrad/tsdiscgrad.c
TSView_GLLE in src/ts/impls/implicit/glle/glle.c
TSView_IRK in src/ts/impls/implicit/irk/irk.c
TSView_Sundials in src/ts/impls/implicit/sundials/sundials.c
TSView_Theta in src/ts/impls/implicit/theta/theta.c
TSView_BEuler in src/ts/impls/implicit/theta/theta.c
TSView_CN in src/ts/impls/implicit/theta/theta.c
TSView_Mimex in src/ts/impls/mimex/mimex.c
TSView_MPRK in src/ts/impls/multirate/mprk.c
TSView_Pseudo in src/ts/impls/pseudo/posindep.c
TSView_RosW in src/ts/impls/rosw/rosw.c
TSView_BasicSymplectic in src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/interface/ts.c) [Index of all TS routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)