Development of a GPU-superposition Monte Carlo code for fast dose calculation in magnetic fields
Yongbao Li1, Wenzhao Sun1, Hongdong Liu1
1Department of Radiation Oncology, Sun Yat-sen University Cancer Center, State Key Laboratory of Oncology in South China,Collaborative Innovation Center for Cancer Medicine, Guangzhou, People's Republic of China.
Abstract:
Objective.To develop and validate a graphics processing unit (GPU) based superposition Monte Carlo (SMC) code for efficient and accurate dose calculation in magnetic fields.Approach.A series of mono-energy photons ranging from 25 keV to 7.7 MeV were simulated with EGSnrc in a water phantom to generate particle tracks database. SMC physics was extended with charged particle transport in magnetic fields and subsequently programmed on GPU as gSMC. Optimized simulation scheme was designed by combining variance reduction techniques to relieve the thread divergence issue in general GPU-MC codes and improve the calculation efficiency. The gSMC code's dose calculation accuracy and efficiency were assessed through both phantoms and patient cases.Main results.gSMC accurately calculated the dose in various phantoms for bothB = 0 T andB = 1.5 T, and it matched EGSnrc well with a root mean square error of less than 1.0% for the entire depth dose region. Patient cases validation also showed a high dose agreement with EGSnrc with 3D gamma passing rate (2%/2 mm) large than 97% for all tested tumor sites. Combined with photon splitting and particle track repeating techniques, gSMC resolved the thread divergence issue and showed an efficiency gain of 186-304 relative to EGSnrc with 10 CPU threads.Significance.A GPU-superposition Monte Carlo code called gSMC was developed and validated for dose calculation in magnetic fields. The developed code's high calculation accuracy and efficiency make it suitable for dose calculation tasks in online adaptive radiotherapy with MR-LINAC.
Related Concept Videos
Fast Decoupled and DC Powerflow
Maxwell-Boltzmann Distribution: Problem Solving
This distribution function f(v) is defined by saying that the expected number N (v1,v2) of particles with speeds between v1 and v2 is given by
Magnetostatic Boundary Conditions
Motion Of A Charged Particle In A Magnetic Field
Magnetic Field due to Moving Charges
Consider a point charge moving with a constant velocity. Like the electric field, the magnetic field at any point is directly proportional to the magnitude of the charge and inversely proportional to the square of the distance between the source point and the field point. However, unlike the electric field, the magnetic field is always perpendicular to the plane containing the line...
Divergence and Curl of Magnetic Field


