Home
Scholarly Works
trevr: A general N log2N radiative transfer...
Journal article

trevr: A general N log2N radiative transfer algorithm

Abstract

We present Tree-based REVerse Ray Tracing (trevr), a general algorithm for computing the radiation field, including absorption, in astrophysical simulations. trevr is designed to handle large numbers of sources and absorbers; it is based on a tree data structure and is thus suited to codes that use trees for their gravity or hydrodynamics solvers (e.g. adaptive mesh refinement). It achieves computational speed while maintaining a specified accuracy via controlled lowering of the resolution of both sources and rays from each source. trevr computes the radiation field in order N log Nsource time without absorption and order Nlog Nsourcelog N time with absorption. These scalings arise from merging sources of radiation according to an opening angle criterion and walking the tree structure to trace a ray to a depth that gives the chosen accuracy for absorption. The absorption-depth refinement criterion is unique to trevr. We provide a suite of tests demonstrating the algorithm’s ability to accurately compute fluxes, ionization fronts, and shadows.

Authors

Grond JJ; Woods RM; Wadsley JW; Couchman HMP

Journal

Monthly Notices of the Royal Astronomical Society, Vol. 485, No. 3, pp. 3681–3695

Publisher

Oxford University Press (OUP)

Publication Date

May 21, 2019

DOI

10.1093/mnras/stz525

ISSN

0035-8711

Contact the Experts team