SKIRT: An advanced dust radiative transfer code with a user-friendly architecture

We discuss the architecture and design principles that underpin the latest version of SKIRT, a state-of-the-art open source code for simulating continuum radiation transfer in dusty astrophysical systems, such as spiral galaxies and accretion disks. SKIRT employs the Monte Carlo technique to emulate...

Full description

Saved in:
Bibliographic Details
Published inAstronomy and computing Vol. 9; pp. 20 - 33
Main Authors Camps, P., Baes, M.
Format Journal Article
LanguageEnglish
Published Elsevier B.V 01.03.2015
Subjects
Online AccessGet full text
ISSN2213-1337
2213-1345
2213-1345
DOI10.1016/j.ascom.2014.10.004

Cover

More Information
Summary:We discuss the architecture and design principles that underpin the latest version of SKIRT, a state-of-the-art open source code for simulating continuum radiation transfer in dusty astrophysical systems, such as spiral galaxies and accretion disks. SKIRT employs the Monte Carlo technique to emulate the relevant physical processes including scattering, absorption and emission by the dust. The code features a wealth of built-in geometries, radiation source spectra, dust characterizations, dust grids, and detectors, in addition to various mechanisms for importing snapshots generated by hydrodynamical simulations. The configuration for a particular simulation is defined at run-time through a user-friendly interface suitable for both occasional and power users. These capabilities are enabled by careful C++ code design. The programming interfaces between components are well defined and narrow. Adding a new feature is usually as simple as adding another class; the user interface automatically adjusts to allow configuring the new options. We argue that many scientific codes, like SKIRT, can benefit from careful object-oriented design and from a friendly user interface, even if it is not a graphical user interface.
ISSN:2213-1337
2213-1345
2213-1345
DOI:10.1016/j.ascom.2014.10.004