# TSBDFSetOrder
Set the order of the `TSBDF` method 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode TSBDFSetOrder(TS ts, PetscInt order)
```
Logically Collective


## Input Parameters

- ***ts -*** timestepping context
- ***order -*** order of the method



## Options Database Key

- ***-ts_bdf_order <order> -*** select the order





## See Also
 `TSBDFGetOrder()`, `TS`, `TSBDF`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/bdf/bdf.c.html#TSBDFSetOrder">src/ts/impls/bdf/bdf.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/bdf/bdf.c.html#TSBDFSetOrder_BDF">TSBDFSetOrder_BDF in src/ts/impls/bdf/bdf.c</A><BR>


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