Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xuyanwen2012/ti_nbody
NBody Simulation written in Taichi
https://github.com/xuyanwen2012/ti_nbody
Last synced: 4 days ago
JSON representation
NBody Simulation written in Taichi
- Host: GitHub
- URL: https://github.com/xuyanwen2012/ti_nbody
- Owner: xuyanwen2012
- License: mit
- Created: 2021-04-30T01:48:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T01:41:59.000Z (over 2 years ago)
- Last Synced: 2024-08-02T11:23:56.468Z (3 months ago)
- Language: Python
- Size: 70.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-taichi - Ti NBody - N-Body simulation written in Taichi. (Applications / **Simulation**)
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.