petsc-3.7.1 2016-05-15
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: Nonlinear Reaction Problem from Chemistry
ex2.c: Reaction Equation from Chemistry\n
ex3.c: Model Equations for Advection-Diffusion\n
ex4.c: Chemo-taxis Problems from Mathematical Biology
ex5.c: Demonstrates Pattern Formation with Reaction-Diffusion Equations
ex7.c:
ex10.c: Solves C_t = -D*C_xx + F(C) + R(C) + D(C) from Brian Wirth's SciDAC project
makefile