mirror of
https://github.com/DifferentiableUniverseInitiative/JaxPM.git
synced 2025-02-22 17:47:11 +00:00
Update jaxpm/pm.py
Co-authored-by: Francois Lanusse <EiffL@users.noreply.github.com>
This commit is contained in:
parent
6b6b414195
commit
85b2f4f097
1 changed files with 0 additions and 1 deletions
|
@ -87,7 +87,6 @@ def pgd_correction(pos, cosmo, params):
|
|||
|
||||
forces_pgd= jnp.stack([cic_read(jnp.fft.irfftn(gradient_kernel(kvec, i)*pot_k_pgd), pos)
|
||||
for i in range(3)],axis=-1)
|
||||
forces_pgd = forces_pgd * 1.5 * cosmo.Omega_m
|
||||
|
||||
dpos_pgd = forces_pgd*alpha
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue