Improving the Calculation Speed of Ray-tracing Based Simulator for Analyzing an Integrating Sphere with OpenMP Directive and Guaranteeing the Randomness of Monte Carlo Method

Seung-Yong Kim, Dae-Chan Kim, O Beom‐Hoan, Se-Geun Park, El-Hang Lee, Seung‐Gol Lee · 한국광학회지 · 2011

광선추적법을 기반으로 하는 적분구 분석 시뮬레이터의 계산속도를 향상하기 위하여 OpenMP 지시어를 이용한 병렬처리 방식의 시뮬레이터를 개발하였으며, 몬테카를로 방법의 무작위성을 보장하기 위해 병렬 난수 발생기인 RngStream 패키지를 활용하였다. $10^7$ 개 이상의 광선 수를 사용하여 0.5%의 오차 범위에서 적분구 이론식과 일치하는 결과를 얻을 수 있었으며, 스레드 수에 따른 계산속도 향상 효과를 확인하였다. 또한 적분구 문제에 관한 공간반응분포함수(spatial response distribution function)을 전산모사하여, 기존 문헌의 결과와 일치함을 확인하였다. In order to improve the calculation speed of an integrating-sphere simulator based on a ray-tracing method, parallel processing with OpenMP directive was implemented into the simulator and the randomness of Monte Carlo method was guaranteed by utilizing a parallel random number generator. It was confirmed that simulation results obtained with more than $10^7$ rays showed good agreement with theoretical results within the error range of 0.5%, and that the calculation speed improved as the number of threads increased. Finally, the spatial response distribution functions of a real integrating sphere were simulated and compared with previous results.

Read the paper · More papers on PaperTik