Article view

Efficient Polyhedral Gravity Modeling in Modern C++ and Python

By Jonas Schuhmacher, Emmanuel Blazquez, Fabio Alexander Gratl, Dario Izzo, Pablo Gómez

Article information

Publication
Published 1 June 2024
Institutions at publication
Technical University of Munich; European Space Agency; European Space Research and Technology Centre
8 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

Polyhedral gravity models are essential for modeling the gravitational field of irregular bodies, such as asteroids and comets. We present an open-source C++ library for the efficient, parallelized computation of a polyhedral gravity model following the line integral approach by Tsoulis (Tsoulis, 2012).A slim, easy-to-use Python interface using pybind11 accompanies the library. The library is particularly focused on delivering high performance and scalability, which we achieve through vectorization and parallelization with xsimd and thrust, respectively. For example, the average evaluation of 1 out of 1000 randomly sampled points took 253 microseconds on a M1 Pro chip for the mesh of Eros consisting of 7374 vertices and 14744 faces (see downscaled to 10% in Figure 1, Gaskell, 2008). The library supports many common formats, such as .stl,.off,.ply,.meshand tetgen's .nodeand .face(Hang, 2015). These properties make the application of this implementation straightforward to (re-)use in an arbitrary context.

Citations per year

Citations per year
YearCitations
2024 0
2025 4
2026 4

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 8 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
France3
The Netherlands3
Germany2