English

GLAMER Part I: A Code for Gravitational Lensing Simulations with Adaptive Mesh Refinement

Cosmology and Nongalactic Astrophysics 2019-01-29 v2

Abstract

A computer code is described for the simulation of gravitational lensing data. The code incorporates adaptive mesh refinement in choosing which rays to shoot based on the requirements of the source size, location and surface brightness distribution or to find critical curves/caustics. A variety of source surface brightness models are implemented to represent galaxies and quasar emission regions. The lensing mass can be represented by point masses (stars), smoothed simulation particles, analytic halo models, pixelized mass maps or any combination of these. The deflection and beam distortions (convergence and shear) are calculated by modified tree algorithm when halos, point masses or particles are used and by FFT when mass maps are used. The combination of these methods allow for a very large dynamical range to be represented in a single simulation. Individual images of galaxies can be represented in a simulation that covers many square degrees. For an individual strongly lensed quasar, source sizes from the size of the quasar's host galaxy (~ 100 kpc) down to microlensing scales (~ 10^-4 pc) can be probed in a self consistent simulation. Descriptions of various tests of the code's accuracy are given.

Keywords

Cite

@article{arxiv.1312.1128,
  title  = {GLAMER Part I: A Code for Gravitational Lensing Simulations with Adaptive Mesh Refinement},
  author = {R. Benton Metcalf and Margarita Petkova},
  journal= {arXiv preprint arXiv:1312.1128},
  year   = {2019}
}

Comments

13 pages, 9 figures, submitted to MNRAS, corrected some typos, replaced figure 9 after problem with numerical precision was discovered

R2 v1 2026-06-22T02:20:32.889Z