mirror of
https://github.com/DifferentiableUniverseInitiative/JaxPM.git
synced 2025-04-07 20:30:54 +00:00
Update scripts/distributed_pm.py
Co-authored-by: Francois Lanusse <EiffL@users.noreply.github.com>
This commit is contained in:
parent
5b7f595c32
commit
1f2035176f
1 changed files with 0 additions and 3 deletions
|
@ -47,9 +47,6 @@ def run_simulation(omega_c, sigma8):
|
|||
pk_fn,
|
||||
seed=jax.random.PRNGKey(0))
|
||||
|
||||
# Create particles
|
||||
particles = jnp.stack(jnp.meshgrid(*[jnp.arange(s) for s in mesh_shape]),
|
||||
axis=-1).reshape([-1, 3])
|
||||
|
||||
cosmo = jc.Planck15(Omega_c=omega_c, sigma8=sigma8)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue