:orphan:
# TSAdaptSetScaleSolveFailed
Scale step size by this factor if solve fails 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode TSAdaptSetScaleSolveFailed(TSAdapt adapt, PetscReal scale)
```
Logically Collective


## Input Parameters

- ***adapt -*** adaptive controller context
- ***scale -*** scale



## Options Database Key

- ***-ts_adapt_scale_solve_failed <scale> -*** to set scale step by this factor if solve fails





## See Also
 [](ch_ts), `TSAdapt`, `TSAdaptChoose()`, `TSAdaptGetScaleSolveFailed()`, `TSAdaptGetClip()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/interface/tsadapt.c.html#TSAdaptSetScaleSolveFailed">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
