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

  1. as a graph (see below) that shows how tutorial programs build upon each other.
  2. as a list that provides a short synopsis of each program.
  3. or grouped by topic.
Some of the programs also jointly form the geodynamics demonstration suite.

The programs are in the examples/ directory of your local deal.II installation. After compiling the library itself, 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.

Legend: Green octagons: programs that show basic techniques; Orange boxes: advanced techniques; Yellow: applications in fluid dynamics; Light blue: applications in solid mechanics; Dark blue boxes: time dependent problems.


The deal.II group