petsc-3.12.0 2019-09-29
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: Basic problem for multi-rate method
ex2.c: Basic problem for multi-rate method
ex3.c: Basic problem for multi-rate method
ex5.c: 1D periodic Finite Volume solver in slope-limiter form with semidiscrete time stepping
ex6.c: 1D periodic Finite Volume solver in slope-limiter form with semidiscrete time stepping
ex7.c: 1D periodic Finite Volume solver by a particular slope limiter with semidiscrete time stepping
makefile