# TSSetPostEventIntervalStep
Set the time-step used immediately following the event interval 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode TSSetPostEventIntervalStep(TS ts, PetscReal dt)
```
Logically Collective


## Input Parameters

- ***ts -*** time integration context
- ***dt -*** post event interval step



## Options Database Key

- ***-ts_event_post_eventinterval_step <dt> time-*** step after event interval





## Notes
`TSSetPostEventIntervalStep()` allows one to set a time-step that is used immediately following an event interval.

This function should be called from the postevent function set with `TSSetEventHandler()`.

The post event interval time-step should be selected based on the dynamics following the event.
If the dynamics are stiff, a conservative (small) step should be used.
If not, then a larger time-step can be used.


## See Also
 [](chapter_ts), `TS`, `TSEvent`, `TSSetEventHandler()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/event/tsevent.c.html#TSSetPostEventIntervalStep">src/ts/event/tsevent.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/event/tsevent.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
