Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/antonio-leitao/betti-decomposition

Betti Decomposition of simplicial complexes in Fortran
https://github.com/antonio-leitao/betti-decomposition

fortran topological-data-analysis topology

Last synced: about 2 months ago
JSON representation

Betti Decomposition of simplicial complexes in Fortran

Awesome Lists containing this project

README

        

# Betti Decomposition

Given a a file with all simplicies of a simplicial complex:
Example Simplicial Complex

```text
complex.txt
1 2 3
1 2
2 3
3 1
3 4
4 1
4
3
2
1
```
The code returns the following output

```text
b0 = 1
b1 = 1
```

## Basic usage

```shell
git clone https://github.com/antonio-leitao/betti-decomposition.git
cd betti-decomposition
# compile from source:
make
#run it with your desired txt file
./betti "simplicial_complex.txt"
```

### Compiler Options

To toogle parallelization with OpenMP compile with teh following code

```shell
make OPENMP=1
```