The laboratories rely on the deal.II
finite element library (official website, GitHub repository), which is already available in mk modules (through module load gcc-glibc dealii
- you don't have to download anything).
For the visualization of numerical solutions, we will use Paraview (official website). Please download and install it in advance from their download page. Notice that Paraview should be installed on the host system, not inside the Docker container.
Each laboratory has its own folder lab-XY
, containing:
- a sub-folder
lab-XY/text
, with the text of the exercises; - a sub-folder
lab-XY/src
, with the starting source code; - a file
CMakeLists.txt
, used by CMake for the configuration and compilation; - a sub-folder
lab-XY/solution
(added after the lecture), with the solution to the exercises (both theory and code).
The laboratory folders will be uploaded during the course.
To build the executable for a laboratory, make sure you have loaded the needed modules with
$ module load gcc-glibc dealii
Then, from the folder lab-XY
, run the following commands:
$ mkdir build
$ cd build
$ cmake ..
$ make
The executable for the laboratory will be created into lab-XY/build
, and can be executed through
$ ./lab-XY
The repository contains a folder examples
, that will contain short examples of code. Examples will be added during the course: refer to the README.md
file in each example subfolder for information on each example and building instructions.