English

Symplectic Integrator Mercury: Bug Report

Astrophysics 2008-08-05 v1

Abstract

We report on a problem found in MERCURY, a hybrid symplectic integrator used for dynamical problems in Astronomy. The variable that keeps track of bodies' statuses is uninitialised, which can result in bodies disappearing from simulations in a non-physical manner. Some FORTRAN compilers implicitly initialise variables, preventing simulations from having this problem. With other compilers, simulations with a suitably large maximum number of bodies parameter value are also unaffected. Otherwise, the problem manifests at the first event after the integrator is started, whether from scratch or continuing a previously stopped simulation. Although the problem does not manifest in some conditions, explicitly initialising the variable solves the problem in a permanent and unconditional manner.

Cite

@article{arxiv.0808.0483,
  title  = {Symplectic Integrator Mercury: Bug Report},
  author = {K. de Souza Torres and D. R. Anderson},
  journal= {arXiv preprint arXiv:0808.0483},
  year   = {2008}
}

Comments

4 pages, 2 figures, 1 table

R2 v1 2026-06-21T11:07:25.275Z