Current browse context:
gr-qc
Change to browse by:
References & Citations
General Relativity and Quantum Cosmology
Title: FANTASY: User-Friendly Symplectic Geodesic Integrator for Arbitrary Metrics with Automatic Differentiation
(Submitted on 5 Oct 2020 (v1), last revised 9 Feb 2021 (this version, v4))
Abstract: We present FANTASY (Finally A Numerical Trajectory Algorithm both Straightforward and sYmplectic), a user-friendly, open-source symplectic geodesic integrator written in Python. FANTASY is designed to work "out-of-the-box" and does not require anything from the user aside from the metric and the initial conditions for the geodesics. FANTASY efficiently computes derivatives up to machine precision using automatic differentiation, allowing the integration of geodesics in arbitrary space(times) without the need for the user to manually input Christoffel symbols or any other metric derivatives. Further, FANTASY utilizes a Hamiltonian integration scheme that doubles the phase space, where two copies of the particle phase space are evolved together. This technique allows for an integration scheme that is both explicit and symplectic, even when the Hamiltonian is not separable. FANTASY comes prebuilt with second and fourth order schemes, and is easily extendible to higher order schemes. FANTASY also includes an automatic Jacobian calculator that allows for coordinate transformations to be done automatically.
Submission history
From: Pierre Christian [view email][v1] Mon, 5 Oct 2020 18:00:12 GMT (1472kb,D)
[v2] Thu, 14 Jan 2021 02:57:30 GMT (1684kb,D)
[v3] Mon, 18 Jan 2021 00:13:17 GMT (1676kb,D)
[v4] Tue, 9 Feb 2021 23:05:23 GMT (1675kb,D)
Link back to: arXiv, form interface, contact.