# TSRosWSetType
Set the type of Rosenbrock-W, `TSROSW`, scheme 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSRosWSetType(TS ts, TSRosWType roswtype)
```
Logically collective


## Input Parameters

- ***ts -*** timestepping context
- ***roswtype -*** type of Rosenbrock-W scheme





## See Also
 [](chapter_ts), `TSRosWGetType()`, `TSROSW`, `TSROSW2M`, `TSROSW2P`, `TSROSWRA3PW`, `TSROSWRA34PW2`, `TSROSWRODAS3`, `TSROSWSANDU3`, `TSROSWASSP3P3S1C`, `TSROSWLASSP3P4S2C`, `TSROSWLLSSP3P4S2C`, `TSROSWARK3`

## Level
beginner

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

## Implementations

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


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