1. Daniel Reynolds
  2. RKLab


RKLab /

Filename Size Date modified Message
42 B
852 B
1.3 KB
471 B
469 B
470 B
858 B
1.3 KB
370 B
453 B
1.1 KB
853 B
1.7 KB
37.6 KB
2.4 KB
2.5 KB
2.9 KB
343 B
413 B
897 B
2.2 KB
9.1 KB
7.7 KB
12.0 KB
RKLab provides a suite of Matlab files that implement adaptive-step
explicit and implicit Runge-Kutta methods.  This software is designed
for instructional use and has been implemented to be easily understood
and modified.  As a result, certain efficiency-related optimizations
have been omitted.

We currently provide three classes of methods:
(a) explicit Runge-Kutta (ERK), 
(b) diagonally-implicit Runge-Kutta (DIRK), and
(c) fully implicit Runge-Kutta (IRK).

In addition to these three classes of methods, we provide a large
number of Butcher tables (over 70), holding the coefficients for
existing methods in each of these three categories.

For ERK and DIRK methods, time step adaptivity is enabled for methods
with embeddings (most of the included ERK and DIRK methods include
embeddings). For IRK methods, time step adaptivity is performed using
a Richardson error estimate (cost of 3 solves per step), but leverages
the additional cost through using the Richardson extrapolation for the
time step solution.  All three classes of methods may be run in
so-called "fixed-step mode", wherein the solver will take steps of a
user-supplied magnitude.  This mode is currently required for ERK and
DIRK methods without embeddings.

In addition to these sets of solvers, we provide three example
problems that may be used to test different methods, and that may be
used as a template for creating new problems.  These test problems
(a) a non-stiff variant of the Van der Pol oscillator (two-component
    nonlinear ODE system). 
(b) a stiff Brusselator problem (three-component nonlinear ODE
    system), and
(c) a PDE variant of the Brusselator problem (two-component nonlinear
    PDE system).