Overview

The deal.II tutorial contains a collection of programs, each more or less built atop of previous ones, which demonstrate various aspects of the library. Each such example has the following structure:

  1. Introduction: What the program does, including the mathematical model, and what programming techniques are new.
  2. The commented program: An extensively documented listing of the source code.
  3. Results: The output of the program, with comments and interpretation.
  4. The plain program: The source code stripped of all comments.

You can browse the available tutorial programs as a graph that shows how tutorial programs build upon each other (below); as a list that provides a short synopsis of each program; and grouped by topics. Some of the programs also jointly form the geodynamics demonstration suite.

The programs are in the examples/ directory of your local deal.II installation. If you go into one of the tutorial directories, you can compile the program by typing make, and run it using make run. The latter command also compiles the program if that has not already been done. The Makefiles in the different directories are based on the small program Makefile template described in this section.

Connections between tutorial programs

The following graph shows the connections between tutorial programs and how they build on each other. Click on any of the boxes to go to one of the programs. If you hover your mouse pointer over a box, a brief description of the program should appear.

In the graph above, green octagons indicate programs that show basic techniques. Orange boxes indicate advanced techniques, while the programs shown as yellow, light blue, and dark blue boxes are applications in fluid dynamics, solid mechanics, and time dependent problems, respectively.


The deal.II group