Publishing House SB RAS:

Publishing House SB RAS:

Address of the Publishing House SB RAS:
Morskoy pr. 2, 630090 Novosibirsk, Russia



Advanced Search

Atmospheric and Oceanic Optics

2016 year, number 10

The optimization of sequential code for simulation of solar radiative transfer in a vertically heterogeneous environment

T.V. Russkova, T.B. Zhuravleva
V.E. Zuev Institute of Atmospheric Optics of Siberian Branch of the Russian Academy of Science, 1, Academician Zuev square, Tomsk, 634021, Russia
Keywords: солнечная радиация, облачность, метод Монте-Карло, численное моделирование, оптимизация, языки программирования Фортран и Си, solar radiation, clouds, Monte Carlo method, numerical simulation, optimization, Fortran and C programming languages

Abstract

Article belongs to the series of works aimed at improving the performance of radiation codes that implement the statistical Monte Carlo method. A brief description of the main blocks of the two programs for calculating the intensity of solar radiation in a vertically inhomogeneous medium, basis, in FORTRAN, and its optimized version, in the C language, is presented. The results of tests aimed at assessing the performance of each of the code under different conditions of numerical experiment are presented. In the cases examined, the performance indicators of optimized C code were higher as compared with the basis one. It is shown that differences in execution time of the codes are reduced by increasing the optical density of the atmosphere, and using more efficient computers. Developed C program can serve as a basis for creating a high-performance radiation code.