:orphan:
# TSSundialsSetMinTimeStep
Smallest time step to be chosen by the adaptive controller. 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode TSSundialsSetMinTimeStep(TS ts, PetscReal mindt)
```

## Input Parameters

- ***ts -*** the time-step context
- ***mindt -*** lowest time step if positive, negative to deactivate



## Note
`TSSUNDIALS` will error if it is not possible to keep the estimated truncation error below
the tolerance set with `TSSundialsSetTolerance()` without going below this step size.




## See Also
 [](ch_ts), `TSSundialsSetType()`, `TSSundialsSetTolerance()`,

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/sundials/sundials.c.html#TSSundialsSetMinTimeStep">src/ts/impls/implicit/sundials/sundials.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/sundials/sundials.c.html#TSSundialsSetMinTimeStep_Sundials">TSSundialsSetMinTimeStep_Sundials in src/ts/impls/implicit/sundials/sundials.c</A><BR>


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