mirror of
https://github.com/DifferentiableUniverseInitiative/JaxPM.git
synced 2025-02-23 10:00:54 +00:00
format
This commit is contained in:
parent
6aa2ccf7b5
commit
d4f72c8244
1 changed files with 1 additions and 2 deletions
|
@ -105,8 +105,7 @@ def run_simulation(omega_c, sigma8, mesh_shape, box_size, halo_size,
|
||||||
halo_size=halo_size,
|
halo_size=halo_size,
|
||||||
sharding=sharding)
|
sharding=sharding)
|
||||||
|
|
||||||
ode_fn = ODETerm(
|
ode_fn = ODETerm(make_diffrax_ode(mesh_shape, paint_absolute_pos=False))
|
||||||
make_diffrax_ode(mesh_shape, paint_absolute_pos=False))
|
|
||||||
|
|
||||||
# Choose solver
|
# Choose solver
|
||||||
solver = LeapfrogMidpoint() if solver_choice == "leapfrog" else Dopri5()
|
solver = LeapfrogMidpoint() if solver_choice == "leapfrog" else Dopri5()
|
||||||
|
|
Loading…
Add table
Reference in a new issue