Repository for HE-8 Ph.D. course at GSSI (XXXVI cycle). It includes exercises given during the lectures. The repository is mainly written in C++ with some Python inset to produce plots of the results.
This repository contains:
-
Implementation of the Simpson integration method for the function ;
-
Implementation of Runge-Kutta ODE integration (without and with adaptive step size method) for the pendulum;
-
Implementation of Crank-Nicolson PDE integration for steady-state solution of diffusion equation;
The folder 'pyplots' contains Python scripts useful to plot the results of every single executable.
To build this project clone the repository. Inside it:
$ mkdir build
$ cd build
$ cmake ..
$ make