# TSROSWSHAMP4
four stage, fourth order Rosenbrock (not W) method from Shampine By default, the Jacobian is only recomputed once per step.

A-stable, |R(infty)| = 1/3.

This method does not provide a dense output formula.




## References

- **** -*** Shampine, Implementation of Rosenbrock methods, 1982.
- **** -*** Hairer and Wanner, Solving Ordinary Differential Equations II, Section 4 Table 7.2.


Hairer's code ros4.f


## See Also
 [](chapter_ts), `TSROSW`, `TSROSWGRK4T`, `TSROSWVELDD4`, `TSROSW4L`

## Level
intermediate

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


---
[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)  
