https://github.com/r-barnes/tight_isoperimetric
https://github.com/r-barnes/tight_isoperimetric
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/r-barnes/tight_isoperimetric
- Owner: r-barnes
- Created: 2021-09-15T05:58:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-06T03:02:10.000Z (over 2 years ago)
- Last Synced: 2025-01-26T19:11:19.683Z (4 months ago)
- Language: C++
- Size: 3.72 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
```