pynbody / genetIC

The GM initial conditions generator
GNU General Public License v3.0
21 stars 8 forks source link

Fix issue #85 #86

Closed cphyc closed 3 years ago

cphyc commented 3 years ago

This relies on wrapping around grid boundaries (not domain boundary) when computing the indices of neighbouring cells to compute the Zeldovich offset. It prevents out-of-bound access.