Install ======= .. toctree:: :maxdepth: 1 .. warning:: Only tested on Ubuntu 18.10+. Install binary dependencies --------------------------- CGAL ~~~~ `CGAL `_ is a geometry package which provides fast and reliable algorithms written in C++. We recommend you to use the package manager of your OS. .. list-table:: CGAL :widths: 20 40 40 :header-rows: 1 * - OS - Package manager - Link * - Linux - ``sudo apt-get install libcgal-dev`` - `CGAL for Linux `_ * - Windows - ``vcpkg install cgal`` - `CGAL for Windows `_ * - MacOS - ``brew install cgal`` - `CGAL for MacOS `_ Gmsh ~~~~ `Gmsh `_ is a 3D finite element mesher. Download the latest version corresponding to your OS. .. list-table:: Gmsh :widths: 20 80 :header-rows: 1 * - OS - Link * - Linux - `Gmsh Linux 32-bit `_ or `Gmsh Linux 64-bit `_ * - Windows - `Gmsh Windows 32-bit `_ or `Gmsh Windows 64-bit `_ * - MacOS - `Gmsh MacOS `_ Once downloaded, extract it and add it to the path. GetDP ~~~~~ `GetDP `_ is a finite element solver which works in symbiosis with Gmsh. Download the latest version corresponding to your OS. .. list-table:: GetDP :widths: 20 80 :header-rows: 1 * - OS - Link * - Linux - `GetDP Linux 32-bit `_ or `GetDP Linux 64-bit `_ * - Windows - `GetDP Windows 32-bit `_ or `GetDP Windows 64-bit `_ * - MacOS - `GetDP MacOS `_ Once downloaded, extract it and add it to the path. Install shamo ------------- Pip ~~~ Since ``shamo`` is available on `PyPI `_, the easiest way to install the latest release is to use the following command: .. code-block:: shell python3 -m pip install shamo Setup.py ~~~~~~~~ If you want to install from source, simply clone the repository and use the following command: .. code-block:: shell python3 setup.py install --user