# TSAdaptSetTimeStepIncreaseDelay
The number of timesteps to wait after a decrease in the timestep due to failed solver before increasing the time step. 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode TSAdaptSetTimeStepIncreaseDelay(TSAdapt adapt, PetscInt cnt)
```
Logicially Collective on adapt


## Input Parameters

- ***adapt -*** adaptive controller context
- ***cnt -*** the number of timesteps



## Options Database Key

- ***-ts_adapt_time_step_increase_delay cnt -*** number of steps to delay the increase





## Notes
This is to prevent an adaptor from bouncing back and forth between two nearby timesteps. The default is 0.

The successful use of this option is problem dependent


## Developer Note
There is no theory to support this option


## See Also
 [](chapter_ts), `TSAdapt`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/interface/tsadapt.c.html#TSAdaptSetTimeStepIncreaseDelay">src/ts/adapt/interface/tsadapt.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/adapt/interface/tsadapt.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)  
