Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/xuyanwen2012/ti_nbody

NBody Simulation written in Taichi
https://github.com/xuyanwen2012/ti_nbody

Last synced: about 2 months ago
JSON representation

NBody Simulation written in Taichi

Awesome Lists containing this project

README

        

# ti_nbody
NBody Simulation written in Taichi

## Install Taichi

To make sure taichi is working, the easiest thing todo is

```
python3 -m pip install taichi
```

We want to install this local *ti-nbody* package

```
pip install .
```

Then for example you can run my Nbody program using

```
python ./examples/hello_nbody.py
```

## Files

* `n_body.py` Contains both *O(N^2)* and *O(NlogN)* n-body simulation, currently working correctly.
* `hof.py` A buggy Higher Order Function Kerner which we are trying to debug.