# TSSUNDIALS
ODE solver using a very old version of the LLNL CVODE/SUNDIALS package, version 2.5 (now called SUNDIALS). Requires ./configure --download-sundials 
## Options Database Keys

- ***-ts_sundials_type <bdf,adams> -*** 
- ***-ts_sundials_gramschmidt_type <modified, classical> -*** type of orthogonalization inside GMRES
- ***-ts_sundials_atol <tol> -*** Absolute tolerance for convergence
- ***-ts_sundials_rtol <tol> -*** Relative tolerance for convergence
- ***-ts_sundials_linear_tolerance <tol> -*** 
- ***-ts_sundials_maxl <maxl> -*** Max dimension of the Krylov subspace
- ***-ts_sundials_monitor_steps -*** Monitor SUNDIALS internal steps
- ***-ts_sundials_use_dense -*** Use a dense linear solver within CVODE (serial only)





## Note
This uses its own nonlinear solver and Krylov method so PETSc `SNES` and `KSP` options do not apply,
only PETSc `PC` options.


## See Also
 [](chapter_ts), `TSCreate()`, `TS`, `TSSetType()`, `TSSundialsSetType()`, `TSSundialsSetMaxl()`, `TSSundialsSetLinearTolerance()`, `TSType`,
`TSSundialsSetGramSchmidtType()`, `TSSundialsSetTolerance()`, `TSSundialsGetPC()`, `TSSundialsGetIterations()`, `TSSetExactFinalTime()`

## Level
beginner

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


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
