1.6.0
deal.II documentation

Table of contents

Tutorials on deal.II

The deal.II documentation is available here.

If you are not familiar with deal.II, here are a few tutorials from its documentation covering most of the topics needed to develop lifex, sorted by increasing difficulty. Please be sure to main the techniques described before getting your hands into the code.

  1. Mesh handling
  2. Finite element degrees of freedom
  3. Laplace equation (part 1)
  4. Laplace equation (part 2)
  5. Vector problems, mixed formulations
  6. Non-linear problems
  7. Time-dependent problems
  8. Parallelization using PETSc and using both PETSc and Trilinos
  9. Time advancing schemes
  10. Assembling block preconditioners
  11. Automatic differentiation

How to compile a deal.II step file

The instructions to compile and run a tutorial source file are the following.

  1. Create a CMakeLists.txt file in the same folder as the source file you want to compile, as explained here.
  2. Create a build folder and enter it with mkdir build && cd build.
  3. Configure with cmake .. -DDEAL_II_DIR=/path/to/dealii/installation/ (add the -DCMAKE_BUILD_TYPE=Debug flag for a debug build).
  4. Compile with make -j<N>, where N is the desired number of processes.