It is recommended to use a virtual environment for the dependencies. To create a and activate a new environment venv:
python3 -m venv venv
source venv/bin/activate
The dependencies can then be installed as:
python3 -m pip install -r requirements.txt
On Ubuntu you may need to install a GUI backend for matplotlib, such as tkinter
sudo apt-get install python3-tk
Gmsh was used to generate the meshes used in the experiments. Prebuilt binaries can be downloaded from: https://gmsh.info/
Paraview is a program used for visualization of the results generated by the experiments. Installers for various platforms can be downloaded from: https://www.paraview.org/
https://docs.pyvista.org/user-guide/index.html
combining geometries: pyvista/pyvista-support#46
The scripts are invoked from the command line as follows:
python3 experiments/1d_heat_learning.py