This repository was archived by the owner on Jun 25, 2021. It is now read-only.
File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,16 @@ Description
4
4
This repo contains 2LPT IC generation code from Roman Scoccimarro.
5
5
Original code can be found `here <http://cosmo.nyu.edu/roman/2LPT/ >`__
6
6
7
- The code has been updated with lots of checks about INT overflow and
8
- 64 bit IDs. Dependency on Numerical Recipes in C has been replaced
9
- with ``gsl ``. This code can accept P(k) generated by
10
- `CAMB <http://camb.info/ >`__.
7
+ Improvements
8
+ ============
9
+
10
+ 1. The code has been updated with lots of checks about INT overflow and 64 bit ID overflows.
11
+ 2. Dependency on Numerical Recipes in C has been replaced with ``gsl ``
12
+ 3. This code can accept P(k) generated by `CAMB <http://camb.info/ >`__ (contribution from Greg Poole)
13
+ 4. Can generate consistent particle IDs across simulations of different resolutions (contribution from Greg Poole)
14
+
15
+ **Note ** this version produces a header compatible with standard public Gadget2. In particular,
16
+ the number of particles in excess of INT_MAX (~2e9) is stored in ``npartTotalHighWord `` in the header, rather than npartTotal[2].
11
17
12
18
Installation
13
19
============
You can’t perform that action at this time.
0 commit comments