WHFast: A fast and unbiased implementation of a symplectic Wisdom-Holman integrator for long term gravitational simulations
arXiv:1506.01084 · doi:10.1093/mnras/stv1257
Abstract
We present WHFast, a fast and accurate implementation of a Wisdom-Holman symplectic integrator for long-term orbit integrations of planetary systems. WHFast is significantly faster and conserves energy better than all other Wisdom-Holman integrators tested. We achieve this by significantly improving the Kepler-solver and ensuring numerical stability of coordinate transformations to and from Jacobi coordinates. These refinements allow us to remove the linear secular trend in the energy error that is present in other implementations. For small enough timesteps we achieve Brouwer's law, i.e. the energy error is dominated by an unbiased random walk due to floating-point round-off errors. We implement symplectic correctors up to order eleven that significantly reduce the energy error. We also implement a symplectic tangent map for the variational equations. This allows us to efficiently calculate two widely used chaos indicators the Lyapunov characteristic number (LCN) and the Mean Exponential Growth factor of Nearby Orbits (MEGNO). WHFast is freely available as a flexible C package, as a shared library, and as an easy-to-use python module.
Accepted by MNRAS, 13 pages, 4 figures, source code and tutorials available at http://github.com/hannorein/rebound
References in corpus (1)
Cited by in corpus (274)
- Seven temperate terrestrial planets around the nearby ultracool dwarf star TRAPPIST-1
- REBOUNDx: A Library for Adding Conservative and Dissipative Forces to Otherwise Symplectic N-body Integrations
- Kepler Planet Masses and Eccentricities from TTV Analysis
- Tracing the formation history of giant planets in protoplanetary disks with Carbon, Oxygen, Nitrogen and Sulphur
- Hybrid Symplectic Integrators for Planetary Dynamics
- Dynamical Constraints on the HR 8799 Planets with GPI
- Predicting the long-term stability of compact multiplanet systems
- Warm terrestrial planet with half the mass of Venus transiting a nearby star
- Convergent Migration Renders TRAPPIST-1 Long-lived
- Dynamical evidence for an early giant planet instability
- The stability of tightly-packed, evenly-spaced systems of Earth-mass planets orbiting a Sun-like star
- The Formation of Jupiter's Diluted Core by a Giant Impact
- A super-Earth and a sub-Neptune orbiting the bright, quiet M3 dwarf TOI-1266
- Characterization of the K2-18 multi-planetary system with HARPS: A habitable zone super-Earth and discovery of a second, warm super-Earth on a non-coplanar orbit
- A circumbinary protoplanetary disc in a polar configuration
- Asteroid pairs: a complex picture
- Transit detection of the long-period volatile-rich super-Earth Lupi d with
- Ultra-short-period planets from secular chaos
- A Criterion for the Onset of Chaos in Systems of Two Eccentric Planets
- CHEOPS observations of the HD 108236 planetary system: A fifth planet, improved ephemerides, and planetary radii
- Two Directly Imaged, Wide-orbit Giant Planets around the Young, Solar Analog TYC 8998-760-1
- Low-Eccentricity Migration of Ultra-Short Period Planets in Multi-Planet Systems
- Characterization of the L 98-59 multi-planetary system with HARPS: two confirmed terrestrial planets and a mass upper limit on the third
- Radial velocity follow-up of GJ1132 with HARPS. A precise mass for planet 'b' and the discovery of a second planet
- A Machine Learns to Predict the Stability of Tightly Packed Planetary Systems
- TOI-1136 is a Young, Coplanar, Aligned Planetary System in a Pristine Resonant Chain
- Survivability of planetary systems in young and dense star clusters
- The HARPS search for southern extra-solar planets XLII. A system of Earth-mass planets around the nearby M dwarf YZ Ceti
- The path to instability in compact multi-planetary systems
- Kepler-411: a four-planet system with an active host star
- Two temperate super-Earths transiting a nearby late-type M dwarf
- A search of the full six years of the Dark Energy Survey for outer Solar System objects
- Eccentricities and Inclinations of Multi-Planet Systems with External Perturbers
- Kepler-730: A hot Jupiter system with a close-in, transiting, Earth-sized planet
- An unusually low density ultra-short period super-Earth and three mini-Neptunes around the old star TOI-561
- In-Situ Scattering of Warm Jupiters and Implications for Dynamical Histories
- Evidence for the volatile-rich composition of a 1.5- planet
- The TESS-Keck Survey IV: A Retrograde, Polar Orbit for the Ultra-Low-Density, Hot Super-Neptune WASP-107b
- Cometary impactors on the TRAPPIST-1 planets can destroy all planetary atmospheres and rebuild secondary atmospheres on planets f, g, h
- Excitation and depletion of the asteroid belt in the early instability scenario
- Planet-Planet Occultations in TRAPPIST-1 and Other Exoplanet Systems
- Dynamically hot Super-Earths from outer giant planet scattering
- GJ 273: On the formation, dynamical evolution and habitability of a planetary system hosted by an M dwarf at 3.75 parsec
- A Compact Multi-Planet System With A Significantly Misaligned Ultra Short Period Planet
- The Asteroid Belt as a Relic From a Chaotic Early Solar System
- Visibility Predictions for Near-Future Satellite Megaconstellations: Latitudes near 50 Degrees will Experience the Worst Light Pollution
- New Constraints on Gliese 876 -- Exemplar of Mean-Motion Resonance
- Secular Dynamics of an Exterior Test Particle: The Inverse Kozai and Other Eccentricity-Inclination Resonances
- Orbital dynamics of circumbinary planets
- High resolution optical spectroscopy of the -rich comet C/2016 R2 (PanSTARRS)
- Asteroid Kamo`oalewa's journey from the lunar Giordano Bruno crater to Earth 1:1 resonance
- High order symplectic integrators for planetary dynamics and their implementation in REBOUND
- The Dingle Dell meteorite: a Halloween treat from the Main Belt
- Uncovering the true periods of the young sub-Neptunes orbiting TOI-2076
- Radial velocities from the N2K Project: 6 new cold gas giant planets orbiting HD 55696, HD 98736, HD 148164, HD 203473, and HD 211810
- Second-order variational equations for N-body simulations
- An Integrable Model for the Dynamics of Planetary Mean Motion Resonances
- Polar planets around highly eccentric binaries are the most stable
- Saturn's formation and early evolution at the origin of Jupiter's massive moons
- Pushing planets into an inner cavity by a resonant chain
- The Post-Pericenter Evolution of the Galactic Center Source G2
- A Fast and Accurate Universal Kepler Solver without Stumpff Series
- Close encounters of the primordial kind: a new observable for primordial black holes as dark matter
- Plausible Compositions of the Seven TRAPPIST-1 Planets Using Long-term Dynamical Simulations
- Absolute densities, masses, and radii of the WASP-47 system determined dynamically
- Absolute densities in exoplanetary systems: photodynamical modelling of Kepler-138
- Identifying Interstellar Objects Trapped in the Solar System through Their Orbital Parameters
- Not a simple relationship between Neptune's migration speed and Kuiper belt inclination excitation
- Self-Consistent Spin, Tidal and Dynamical Equations of Motion in the REBOUNDx Framework
- A super-Earth and a mini-Neptune near the 2:1 MMR straddling the radius valley around the nearby mid-M dwarf TOI-2096
- A Criterion for the Stability of Planets in Chains of Resonances
- A study of symplectic integrators for planetary system problems: error analysis and comparisons
- 37 New Validated Planets in Overlapping K2 Campaigns
- Peculiar architectures for the WASP-53 and WASP-81 planet-hosting systems
- The Orbital Eccentricities of Directly Imaged Companions Using Observable-Based Priors: Implications for Population-level Distributions
- Mean motion resonance capture in the context of type-I migration
- Dynamical Constraints on Mercury's Collisional Origin
- Tess asteroseismology of the known planet host star Fornacis
- Eccentricity Driven Climate Effects in the Kepler-1649 System
- Symplectic fourth-order maps for the collisional N-body problem
- C/2014 UN271 (Bernardinelli-Bernstein): the nearly spherical cow of comets
- Three Pathways for Observed Resonant Chains
- Ploonets: formation, evolution and detectability of tidally detached exomoons
- The HD 98800 quadruple pre-main sequence system. Towards full orbital characterisation using long-baseline infrared interferometry
- Realistic collisional water transport during terrestrial planet formation: Self-consistent modeling by an N-body--SPH hybrid code
- Fundamental limits from chaos on instability time predictions in compact planetary systems
- FROST: a momentum-conserving CUDA implementation of a hierarchical fourth-order forward symplectic integrator
- GJ357: A low-mass planetary system uncovered by precision radial-velocities and dynamical simulations
- GW Ori: circumtriple rings and planets
- Intra-system uniformity: a natural outcome of dynamical sculpting
- The CARMENES search for exoplanets around M dwarfs. Two terrestrial planets orbiting G 264-012 and one terrestrial planet orbiting Gl 393
- Empty gaps? Depleting annular regions in debris discs by secular resonance with a two-planet system
- Formation of Terrestrial Planets
- BIFROST: simulating compact subsystems in star clusters using a hierarchical fourth-order forward symplectic integrator code
- Reduced late bombardment on rocky exoplanets around M-dwarfs
- Revisiting high-order Taylor methods for astrodynamics and celestial mechanics
- TRACE: a code for Time-Reversible Astrophysical Close Encounters
- TOI-1408: Discovery and Photodynamical Modeling of a Small Inner Companion to a Hot Jupiter Revealed by TTVs
- Dynamics and Origins of the Near-Resonant Kepler Planets
- Detection of two additional circumbinary planets around Kepler-451
- SOPHIE velocimetry of Kepler transit candidates XVIII. Radial velocity confirmation, absolute masses and radii, and origin of the Kepler-419 multiplanetary system
- How Close are Compact Multi-Planet Systems to the Stability Limit?
- Constraints on the size and dynamics of the J1407b ring system
- Stability of Jovian Trojans and their collisional families
- HD 28109 hosts a trio of transiting Neptunian planets including a near-resonant pair, confirmed by ASTEP from Antarctica
- Two super-Earths at the edge of the habitable zone of the nearby M dwarf TOI-2095
- Free Inclinations for Transneptunian Objects in the Main Kuiper Belt
- Fast and reliable symplectic integration for planetary system -body problems
- Confirming the 3:2 Resonance Chain of K2-138
- The six-planet resonant chain of HD 110067
- TRAPPIST-1: Dynamical analysis of the transit-timing variations and origin of the resonant chain
- Deep orbital search for additional planets in the HR 8799 system
- The Criterion for Chaos in Three-Planet Systems
- A Tidal Origin for a 3-body Resonance in Kepler-221
- A quarter century of spectroscopic monitoring of the nearby M dwarf Gl 514. A super-Earth on an eccentric orbit moving in and out of the habitable zone
- Exciting the TTV Phases of Resonant Sub-Neptunes
- Dynamical origin of the Dwarf Planet Ceres
- The SHERLOCK pipeline: new exoplanet candidates in the WASP-16, HAT-P-27, HAT-P-26, and TOI-2411 systems
- Cascade disruptions in asteroid clusters
- GJ 3090 b: one of the most favourable mini-Neptune for atmospheric characterisation
- An integrable model for first-order three-planet mean motion resonances
- Updated Catalog of Kepler Planet Candidates: Focus on Accuracy and Orbital Periods
- Stability Constrained Characterization of Multiplanet Systems
- On the triple-star origin of the planetary nebula Sh 2-71
- A differentiable N-body code for transit timing and dynamical modeling. I. Algorithm and derivatives
- Shaping HR8799's outer dust belt with an unseen planet
- The use of Kepler solver in numerical integrations of quasi-Keplerian orbits
- Multiplanet systems in inviscid discs can avoid forming resonant chains
- JANUS: A bit-wise reversible integrator for N-body dynamics
- Stellar Evolution and Tidal Dissipation in REBOUNDx
- Dynamical Evolution of Closely Packed Multiple Planetary Systems Subject to Atmospheric Mass-Loss
- Modeling Radial Velocity Data of Resonant Planets to Infer Migration Histories
- The instability mechanism of compact multiplanet systems
- Giant Outer Transiting Exoplanet Mass (GOT 'EM) Survey. II. Discovery of a Failed Hot Jupiter on a 2.7 Year, Highly Eccentric Orbit
- The Chaotic Nature of TRAPPIST-1 Planetary Spin States
- Running The Gauntlet -- Survival of Small Circumbinary Planets Migrating Through Destabilising Resonances
- A radial limit on polar circumbinary orbits from general relativity
- A new photometric and dynamical study of the eclipsing binary star HW Virginis
- Direct Imaging of Exoplanets Beyond the Radial Velocity Limit: Application to the HD 134987 System
- Near Earth stream decoherence revisited: the limits of orbital similarity
- A strategy to search for an inner binary black hole from the motion of the tertiary star
- On the accuracy of symplectic integrators for secularly evolving planetary systems
- Polar circumtriple planets and disks can only form close to a triple star
- Relativistic Dynamical Stability Criterion of Multi-Planet Systems with a Distant Companion
- Two Planets Straddling the Habitable Zone of The Nearby K Dwarf Gl 414A
- Sculpting the circumbinary planet size distribution through resonant interactions with companion planets
- EXPRES IV: Two Additional Planets Orbiting Coronae Borealis Reveal Uncommon System Architecture
- A CHEOPS-enhanced view of the HD3167 system
- Debris Disks in Multi-Planet Systems: Are Our Inferences Compromised by Unseen Planets?
- Investigation on the Orbital Period Variations of NN Ser: Implications for the Hypothetical Planets, the Applegate Mechanism and the Orbital Stability
- Photodynamical analysis of the nearly resonant planetary system WASP-148: Accurate transit-timing variations and mutual orbital inclination
- Constraining the Densities of the Three Kepler-289 Planets with Transit Timing Variations
- Nekhoroshev Estimates for the Survival Time of Tightly Packed Planetary Systems
- Astrometric Detection of Intermediate-Mass Black Holes At the Galactic Centre
- The Exomoon Corridor for Multiple Moon Systems
- A collage of small planets from the Lick Carnegie Exoplanet Survey : Exploring the super-Earth and sub-Neptune mass regime
- Energy-conserving integrator for conservative Hamiltonian systems with ten-dimensional phase space
- Stability Constrained Characterization of the 23 Myr-old V1298 Tau System: Do Young Planets Form in Mean Motion Resonance Chains?
- The rarity of very red TNOs in the scattered disk
- Polar alignment of a massive retrograde circumbinary disc around an eccentric binary
- Simple physics and integrators accurately reproduce Mercury instability statistics
- Radial-velocity variation of a tertiary star orbiting a binary black hole in coplanar and non-coplanar triples: short- and long-term anomalous behavior
- What can the programming language Rust do for astrophysics?
- Can comets deliver prebiotic molecules to rocky exoplanets?
- On the Degree of Dynamical Packing in the Kepler Multi-planet Systems
- Tidal interactions shape period ratios in planetary systems with three-body resonant chains
- WASP-35 and HAT-P-30/WASP-51: re-analysis using TESS and ground-based transit photometry
- Eclipse Timing Modeling of Three Post-Common Envelope Binaries: Hybrid Solutions
- The Structure and Stability of Extended, Inclined Circumplanetary Disk or Ring Systems
- Orbital dynamics of two circumbinary planets around misaligned eccentric binaries
- A close outer companion to the ultra-hot Jupiter TOI-2109 b?
- High order regularised symplectic integrator for collisional planetary systems
- Nodal Precession in Closely Spaced Planet Pairs
- orbitN: A symplectic integrator for planetary systems dominated by a central mass -- Insight into long-term solar system chaos
- Comparing the dynamics of Jupiter-family Comets and comet-like fireballs
- Orbital dynamics landscape near the most distant known trans-Neptunian objects
- General relativistic precession and the long-term stability of the solar system
- Detached Eclipsing Binaries in Compact Hierarchical Triples: Triple-lined systems BD+44 2258 and KIC 06525196
- The formation of Haumea and its family via binary merging
- The study on transiting systems HAT-P-13, HAT-P-16 and WASP-32 through combining ground-based and TESS photometry
- Prevalance of Chaos in Planetary Systems Formed Through Embryo Accretion
- A Pair of Planets Likely in Mean-motion Resonance From Gravitational Microlensing
- A repository of vanilla long term integrations of the Solar System
- The Yarkovsky effect in REBOUNDx
- Coplanar circumbinary planets can be unstable to large tilt oscillations in the presence of an inner polar planet
- exoMMR: a New Python Package to Confirm and Characterize Mean Motion Resonances
- HST astrometry of the closest Brown Dwarfs -- II. Improved parameters and constraints on a third body
- Two warm Earth-sized exoplanets and an Earth-sized candidate in the M5V-M6V binary system TOI-2267
- A highly mutually-inclined, compact warm-Jupiter system KOI-984 ?
- EnckeHH: an integrator for gravitational dynamics with a dominant mass that achieves optimal error behaviour
- Gap Formation in Planetesimal Disks Via Divergently Migrating Planets
- Orbital stability of two circumbinary planets around misaligned eccentric binaries
- Global dynamics and architecture of the Kepler-444 system
- Astrocladistics of the Jovian Trojan Swarms
- Can the orbital distribution of Neptune's 3:2 mean motion resonance result from stability sculpting?
- Recurrence Network Analysis of Exoplanetary Observables
- Confirming Resonance in Three Transiting Systems
- HD 163296 and its Giant Planets: Creation of Exo-comets, Interstellar Objects and Transport of Volatile Material
- Gemini-GRACES high-quality spectra of Kepler evolved stars with transiting planets I. Detailed characterization of multi-planet systems Kepler-278 and Kepler-391
- An N-body approach to modeling debris and ejecta off small bodies: Implementation and application
- MEGASIM: Lifetimes and Resonances of Earth Trojan Asteroids -- The Death of Primordial ETAs?
- DMPP-3: confirmation of short-period S-type planet(s) in a compact eccentric binary star system, and warnings about long-period RV planet detections
- Radii, masses, and transit-timing variations of the three-planet system orbiting the naked-eye star TOI-396
- Late Delivery of Nitrogen to Earth
- ALMA Reveals an Eccentricity Gradient in the Fomalhaut Debris Disk
- On the influence of equilibrium tides on transit-timing variations of close-in super-Earths. I. Application to single-planet systems and the case of K2-265 b
- Breaking long-period resonance chains with stellar flybys
- Binary asteroid scattering around white dwarfs
- Dynamical feasibility of (3) Juno as a parent body of the H chondrites
- Resonance capture and long-term evolution of planets in binary star systems
- The K2-24 planetary system revisited by CHEOPS
- Measuring the Orbital Parameters of Radial Velocity Systems in Mean Motion Resonance---a Case Study of HD 200964
- Orbital Stability of Proposed NY Virginis Exoplanets
- OSSOS. XXIII. 2013 VZ70 and the Temporary Coorbitals of the Giant Planet
- Relative Habitability of Exoplanet Systems with Two Giant Planets
- Tidally Heated Sub-Neptunes, Refined Planetary Compositions, and Confirmation of a Third Planet in the TOI-1266 System
- Resonant structure, formation and stability of the planetary system HD155358
- Self-consistent Dynamical and Chaotic Tides in the REBOUNDx framework
- Dynamical Instability of Multi-planet Systems and Free-floating Planets
- Forming Gliese 876 Through Smooth Disk Migration
- New Dynamical State and Habitability of the HD 45364 Planetary System
- Formation of Orion Fingers
- A Bayesian neural network predicts the dissolution of compact planetary systems
- Survival of satellites during the migration of a Hot Jupiter
- Effects of Outer Giant Planets on In Situ Formation of Inner Super-Earths
- Close-in compact super-Earth systems emerging from resonant chains: slow destabilization by unseen remnants of formation
- Constraining protoplanetary disks with exoplanetary dynamics: Kepler-419 as an example
- The missing rings around Solar System moons
- Dynamics of star associations in an SMBH-IMBH system: The case of IRS13 in the Galactic centre
- Architecture of planetary systems predicted from protoplanetary disks observed with ALMA II: evolution outcomes and dynamical stability
- Activity of the Jupiter co-orbital comet P/2019~LD (ATLAS) observed with OSIRIS at the 10.4 m GTC
- Terrestrial Exoplanet Simulator (TES): an error optimal planetary systems integrator that permits close encounters
- Evidence for a Non-Dichotomous Solution to the Kepler Dichotomy: Mutual Inclinations of Kepler Planetary Systems from Transit Duration Variations
- Callisto's Nonresonant Orbit as an Outcome of Circum-Jovian Disk Substructure
- A transiting rocky super-Earth and a non-transiting sub-Neptune orbiting the M dwarf TOI-771
- The possible origin of three Apollo asteroids 3200 Phaethon, 2005UD, and 1999YC
- Embedded operator splitting methods for perturbed systems
- Higher-Order Mean-Motion Resonances Can Form in Type-I Disk Migration
- The stability of unevenly spaced planetary systems
- The Dynamical History of the Kepler-221 Planet System
- A Pair of Dynamically Interacting Sub-Neptunes Around TOI-6054
- Moon-packing around an Earth-mass Planet
- The Dynamical Viability of an Extended Jupiter Ring System
- Faster Algorithmic Quantum and Classical Simulations by Corrected Product Formulas
- Stability analysis of planetary systems via second-order Rényi entropy
- Nauyaca: a new tool to determine planetary masses and orbital elements through transit timing analysis
- The TESS-Keck Survey. XIX. A Warm Transiting Sub-Saturn Mass Planet and a non-Transiting Saturn Mass Planet Orbiting a Solar Analog
- Orbital Stability of Closely-Spaced Four-planet Systems
- Orbital stability of compact three-planet systems III. The role of three-body resonances
- An Adolescent and Near-Resonant Planetary System Near the End of Photoevaporation
- Investigating the System Configuration of Kepler-451 through Orbital Period Variations: Dynamical and Magnetic Interpretations
- Gas-depleted planet formation occurred in the four-planet system around the red dwarf LHS 1903
- An Implementation of Stochastic Forces for the N-body code REBOUND
- Mercury-Ares: a high-performance n-body code for planet formation studies
- ARDENT: A Python package for fast dynamical detection limits with radial velocities
- Asteroid pairs: method validation and new candidates
- An efficient integrator for stellar dynamics in effective gravity fields based on the isochrone potential
- Stability of a cluster-disrupted mean-motion resonance (chain) in HR 8799 and PDS 70
- ASTEP confirmation of a pair of long-period Jupiter-sized planets with extremely low densities transiting TOI-791
- Stability of exoplanetary systems retrieved from scalar time series
- Uncovering the Rapidly Evolving Orbits of the Dynamic TOI-201 System
- A distant brown dwarf coplanar to a warm Jupiter and a hot super-Earth
- Close Encounters of the Interstellar Kind: Examining the Capture of Interstellar Objects in Near Earth Orbit
- The Effects of Disk Induced Apsidal Precession on Planets Captured into Mean Motion Resonance
- A close-encounter method for simulating the dynamics of planetesimals
- Numerical estimation of the capture ability of Neptunian mean motion resonances
- Symplectic Integrators: T + V Revisited and Round-Off Reduced
- Possibility of transporting material from Ceres to NEO region via 8:3 MMR with Jupiter
- An ancient L- type family associated to (460) Scania in the Middle Main Belt as revealed by Gaia DR3 spectra
- Asteroseismology of iota Draconis and Discovery of an Additional Long-Period Companion
- Dynamics of Two Planets near a 2:1 Resonance: Case Studies of Known and Synthetic Exosystems on a Grid of Initial Configurations
- Hidden Gems in TESS: sherlock finds two new rocky planets around nearby M dwarfs
- The recent crossing of the 7:3 resonance between Ganymede and Callisto
- Instability from high-order resonant chains in wide-separation massive planet systems