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.
- Publication:
-
Monthly Notices of the Royal Astronomical Society
- Pub Date:
- May 2019
- DOI:
- arXiv:
- arXiv:1902.08083
- Bibcode:
- 2019MNRAS.485.3681G
- Keywords:
-
- radiative transfer;
- methods: numerical;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Astrophysics - Cosmology and Nongalactic Astrophysics;
- Astrophysics - Astrophysics of Galaxies
- E-Print:
- 15 pages, 15 figures and 1 table. Accepted by MNRAS