mirror of
https://github.com/DifferentiableUniverseInitiative/JaxPM.git
synced 2025-04-07 20:30:54 +00:00
forgot particles in multi host
This commit is contained in:
parent
42d8e89de4
commit
6256fbadb1
1 changed files with 0 additions and 2 deletions
|
@ -92,8 +92,6 @@ def run_simulation(omega_c, sigma8, mesh_shape, box_size, halo_size,
|
|||
seed=jax.random.PRNGKey(0),
|
||||
sharding=sharding)
|
||||
|
||||
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)
|
||||
|
||||
dx, p, _ = lpt(cosmo,
|
||||
|
|
Loading…
Add table
Reference in a new issue