This commit is contained in:
Wassim KABALAN 2024-07-18 13:15:39 +02:00
parent 82be56836a
commit 4f508b7cb6
3 changed files with 54 additions and 44 deletions

View file

@ -38,6 +38,7 @@ def pm_forces(positions, mesh_shape=None, delta=None, r_split=0, halo_size=0):
return forces
def lpt(cosmo, initial_conditions, a, halo_size=0):
"""
Computes first order LPT displacement