Skip to content

Commit

Permalink
Comment about iterative timestep
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardinelli authored Feb 5, 2024
1 parent 1a408b9 commit aa8fe04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sorcha/ephemeris/simulation_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def generate_simulations(ephem, gm_sun, gm_total, orbits_df, args):
sim = rebound.Simulation()
sim.t = epoch - ephem.jd_ref
sim.dt = 10
# This turns off the iterative timestep introduced in arXiv:2401.02849 and default since rebound 4.0.3
sim.ri_ias15.adaptive_mode = 1
# Add the particle to the simulation
sim.add(ic)
Expand Down

0 comments on commit aa8fe04

Please sign in to comment.