TSPostStep — PETSc 3.22.5 documentation

Skip to main content
`Ctrl`+`K`

# TSPostStep

Runs the user-defined post-step function that was set with `TSSetPostStep()`

## Synopsis

    #include "petscts.h"
    PetscErrorCode TSPostStep(TS ts)

Collective

## Input Parameter

- ts - The `TS` context obtained from `TSCreate()`

## Note

`TSPostStep()` is typically used within time stepping implementations, so most users would not generally call this routine themselves.

## See Also

TS: Scalable ODE and DAE Solvers, `TS`, `TSSetPreStep()`, `TSSetPreStage()`, `TSSetPostEvaluate()`, `TSGetTimeStep()`, `TSGetStepNumber()`, `TSGetTime()`, `TSSetPotsStep()`

## Level

developer

## Location

src/ts/interface/ts.c

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