thor

Emission and absorption line features are important diagnostics for the physics underlying extragalactic astronomy. The interpretation of observed signatures involves comparing against forward modeled spectra from galaxy formation simulations as well as more simplified geometries, while including the complex scattering radiative transfer (RT) of resonant emission lines. We introduce thor, a modern C++ radiative transfer code focused initially on resonant emission lines. thor is a high-performance, distributed memory MPI-parallel, multi-target code, running on CPUs, GPUs and other accelerators, yielding large $\sim 10-50\rm{x}$ speed-ups compared to previous CPU-only codes.
To be published. Pre-print is available by the third week of July 2025.