A collection of solved exercises for the Numerical simulation laboratory course (EN, IT), held by Prof. Davide Emilio Galli in 2021.
To build all the exercises, please run:
make all
If you only wish to build the exercises for lesson 1, run:
make 1
To run exercise, for example, 1.2, make sure that the directory 1/data/
exists, then execute the following:
cd 1/
./1.2
Finally, to check the results of the simulations and perform the final data analysis, you can run
jupyter lab
and navigate to the desired notebook situated inside the exercise directory.
If needed, the C++ code is situated in the src/
subdirectory in each exercise. Sometimes, the executable is a shell script that calls a compiled binary, such as 4.3
which calls 4.3.bin
.