**petsc-dev 2014-04-18**

## Time steppers for ODE and DAE - TS: Examples

The time-stepping (TS) component provides ODE and DAE integrators as well as
pseudo-timestepping. TS internally
employs SNES to solve the nonlinear
problems at each time step (except for the Sundials functions, which
use nonlinear solvers within Sundials).
TS users can also set SNES options directly in application codes by first extracting the SNES context from the TS context via
TSGetSNES()
and then directly calling various SNES (and KSP and PC with further unwrapping) routines (e.g.,
PCSetType()
).

ex1.c: Solves the time independent Bratu problem using pseudo-timestepping

ex2.c: Solves a time-dependent nonlinear PDE

ex3.c: Solves a simple time-dependent linear PDE (the heat equation)

ex4.c: Solves a simple time-dependent linear PDE (the heat equation)

ex5.c: Solves a simple time-dependent linear PDE (the heat equation)

ex6.c: Solves a simple time-dependent linear PDE (the heat equation)

ex7.c: Nonlinear, time-dependent PDE in 2d

ex8.c: Nonlinear DAE benchmark problems

ex9.c: 1D periodic Finite Volume solver in slope-limiter form with semidiscrete time stepping

ex10.c: 1D nonequilibrium radiation diffusion with Saha ionization model

ex11.c: Second Order TVD Finite Volume Example

ex12.c: Nonlinear, time-dependent PDE in 2d

ex13.c: Time-dependent PDE in 2d

ex14.c: Toy hydrostatic ice flow with multigrid in 3D

ex15.c: Time-dependent PDE in 2d

ex16.c: Solves the van der Pol equation

ex17.c: Time-dependent PDE in 1d

ex19.c: Solves the van der Pol DAE

ex20.c: Solves the van der Pol equation

ex21.c: Solves a time-dependent nonlinear PDE with lower and upper bounds on the interior grid points

ex22.c: Time-dependent advection-reaction PDE in 1d, demonstrates IMEX methods

ex23.c: Cahn-Hilliard-2d problem for constant mobility and triangular elements

ex24.c: Pseudotransient continuation to solve a many-variable system that comes from the 2 variable Rosenbrock function + trivial

ex25.c: Time-dependent Brusselator reaction-diffusion PDE in 1d

ex26.c: Transient nonlinear driven cavity in 2d

ex28.c: Loads a previously saved TS

ex30.cxx: Time-dependent Brusselator reaction-diffusion PDE in 1d

ex31.c: Solves the ordinary differential equations (IVPs) using explicit and implicit time-integration methods

makefile