Update jaxpm/pm.py

Co-authored-by: Francois Lanusse <EiffL@users.noreply.github.com>
This commit is contained in:
Denise Lanzieri 2022-05-18 09:58:46 +02:00 committed by GitHub
parent 8266f11369
commit 782c9dbc6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ def make_ode_fn(mesh_shape):
def pgd_correction(pos, params):
"""
improve the short-range interactions of PM-Nbody simulations with potential gradient descent method
improve the short-range interactions of PM-Nbody simulations with potential gradient descent method, based on https://arxiv.org/abs/1804.00671
"""
kvec = fftk(mesh_shape)