کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
6906100 862894 2015 12 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
SKIRT: The design of a suite of input models for Monte Carlo radiative transfer simulations
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نرم افزارهای علوم کامپیوتر
پیش نمایش صفحه اول مقاله
SKIRT: The design of a suite of input models for Monte Carlo radiative transfer simulations
چکیده انگلیسی
We describe the design of a flexible suite of components for the Monte Carlo radiative transfer code SKIRT. The design is based on a combination of basic building blocks (which can be either analytical toy models or numerical models defined on grids or a set of particles) and the extensive use of decorators that combine and alter these building blocks to more complex structures. For a number of decorators, e.g. those that add spiral structure or clumpiness, we provide a detailed description of the algorithms that can be used to generate random positions. Advantages of this decorator-based design include code transparency, the avoidance of code duplication, and an increase in code maintainability. Moreover, since decorators can be chained without problems, very complex models can easily be constructed out of simple building blocks. Finally, based on a number of test simulations, we demonstrate that our design using customised random position generators is superior to a simpler design based on a generic black-box random position generator.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Astronomy and Computing - Volume 12, September 2015, Pages 33-44
نویسندگان
, ,