An open API service indexing awesome lists of open source software.

https://github.com/r-barnes/tight_isoperimetric


https://github.com/r-barnes/tight_isoperimetric

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Tight Isoperimetric Profiles
============================

Prerequisites
-------------
```bash
conda create --name tightiso
conda activate tightiso
conda install -c conda-forge cgal==5.4
conda install pip
pip install matplotlib shapely
```

Pre-commit hooks
-------------
To run pre-commit hooks run
```
pip3 install pre-commit
pre-commit install
```
When you make a commit the code is automatically reformatted.

Compilation
-----------

The standard cmake compilation commands are sufficient:
```bash
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make
```
This may take a few minutes: CGAL and Boost rely heavily on template
programming, which has slow compilation times.

Running
-----------
```bash
# First, make sure you're in the root directory of the project.
./build/tightiso data/fig4_data.wkt
./plot.py
```