https://github.com/egpbos/pycola
N-body using Comoving Lagrangian Acceleration (COLA) method
https://github.com/egpbos/pycola
Last synced: 3 months ago
JSON representation
N-body using Comoving Lagrangian Acceleration (COLA) method
- Host: GitHub
- URL: https://github.com/egpbos/pycola
- Owner: egpbos
- License: gpl-3.0
- Created: 2019-08-21T11:42:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T11:42:50.000Z (almost 6 years ago)
- Last Synced: 2025-01-13T05:11:37.947Z (5 months ago)
- Language: Python
- Size: 256 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
**Author:** Svetlin V. Tassev (Harvard U, Princeton U)
**Initial public release date:** Jul 3,2014
pyCOLA is a multithreaded Python/Cython N-body code, implementing the
Comoving Lagrangian Acceleration (COLA) method in the temporal and
spatial domains.pyCOLA is based on the following two papers:
1. Solving Large Scale Structure in Ten Easy Steps with
COLA, S. Tassev, M. Zaldarriaga, D. J. Eisenstein, Journal of
Cosmology and Astroparticle Physics, 06, 036
(2013), [arXiv:1301.0322](http://arxiv.org/abs/arXiv:1301.0322)2. sCOLA: The N-body COLA Method Extended to the Spatial Domain, S. Tassev, D.
J. Eisenstein, B. D. Wandelt, M. Zaldarriaga, (2015)If you use pyCOLA or the COLA method in the spatial and/or time domains for scientific work, we kindly ask you to reference the papers above.
* pyCOLA is free and open-source software, distributed under the GPLv3 license.
* To build the code, you need to run:
```
#!bashpython setup.py build_ext --inplace
```* To compile successfully, you need to have the following packages installed: [Python 2.7](https://www.python.org/), [Cython](http://cython.org/), [NumPy](http://www.numpy.org/), [SciPy](http://www.scipy.org/),[pyFFTW](https://hgomersall.github.io/pyFFTW/index.html), [h5py](http://www.h5py.org/), as well as their respective dependencies. Note that pyFFTW v0.9.2 does not support large arrays, so one needs to install the development version from [github](https://github.com/hgomersall/pyFFTW), where the bug has been fixed.
* Read the manual [here](https://bitbucket.org/tassev/pycola/downloads/pyCOLA.pdf).