English

Rootin' Tootin' Efficient Ray Shootin': Creating Microlensing Magnification Maps with GPUs

Astrophysics of Galaxies 2025-06-04 v1 Instrumentation and Methods for Astrophysics

Abstract

The impending discovery and monitoring of hundreds of new gravitationally lensed quasars and supernovae from upcoming ground and space based large area surveys such as LSST, \textit{Euclid}, and \textit{Roman} necessitates the development of improved numerical methods for studying gravitational microlensing. We present in this work the fastest microlensing map generation code currently publicly available. We utilize graphics processing units to take advantage of the inherent parallelizable nature of creating magnification maps, in addition to using 1) the fast multipole method to reduce the runtime dependence on the number of microlenses and 2) inverse polygon mapping to reduce the number of rays required. The code is available at https://github.com/weisluke/microlensing/.

Keywords

Cite

@article{arxiv.2506.02114,
  title  = {Rootin' Tootin' Efficient Ray Shootin': Creating Microlensing Magnification Maps with GPUs},
  author = {Luke Weisenbach},
  journal= {arXiv preprint arXiv:2506.02114},
  year   = {2025}
}

Comments

16 pages, 15 figures. Content (apart from the title) mostly as accepted by MNRAS. Comments welcome

R2 v1 2026-07-01T02:55:14.344Z