Magritte, a modern software library for 3D radiative transfer: I. Non-LTE atomic and molecular line modelling

Frederik De Ceuster, Ward Homan, Jeremy Yates, Leen Decin, Peter Boyle +1 more
12/18/2019
astro-ph.IM

Official code: Magritte-code/Magritte (28 stars, GPL-3.0, last commit 2026-04-08).

Abstract

Radiative transfer is a key component in almost all astrophysical and cosmological simulations. We present Magritte: a modern open-source software library for 3D radiative transfer. It uses a deterministic ray-tracer and formal solver, i.e. it computes the radiation field by tracing rays through the model and solving the radiative transfer equation in its second-order form along a fixed set of rays originating from each point. Magritte can handle structured and unstructured input meshes, as well as smoothed-particle hydrodynamics (SPH) particle data. In this first paper, we describe the numerical implementation, semi-analytic tests and cross-code benchmarks for the non-LTE line radiative transfer module of Magritte. This module uses the radiative transfer solver to self-consistently determine the populations of the quantised energy levels of atoms and molecules using an accelerated Lambda iteration (ALI) scheme. We compare Magritte with the established radiative transfer solvers Ratran (1D) and Lime (3D) on the van Zadelhoff benchmark and present a first application to a simple Keplerian disc model. Comparing with Lime, we conclude that Magritte produces more accurate and more precise results, especially at high optical depth, and that it is faster.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A modern software library for simulating radiation transport.

2814C++, CMakeAug 11, 20206 months agoGPL-3.0
astrophysicsphysics-simulationradiative-transfer

Similar Papers

Cite this paper

@article{ceuster2019magritte,
  title  = {Magritte, a modern software library for 3D radiative transfer: I. Non-LTE atomic and molecular line modelling},
  author = {Frederik De Ceuster and Ward Homan and Jeremy Yates and Leen Decin and Peter Boyle and James Hetherington},
  year   = {2019},
  eprint = {1912.08445},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.08445}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.08445.svg)](https://codeofpaper.com/paper/1912.08445)

Discussion