A vectorized Monte Carlo code for modeling photon transport in SPECT.
A vectorized Monte Carlo computer code has been developed for modeling photon transport in single photon emission computed tomography (SPECT). The code models photon transport in a uniform attenuating region and photon detection by a gamma camera. It is adapted from a history-based Monte Carlo code in which photon history data are stored in scalar variables and photon histories are computed sequentially. The vectorized code is written in FORTRAN77 and uses an event-based algorithm in which photon history data are stored in arrays and photon history computations are performed within DO loops. The indices of the DO loops range over the number of photon histories, and these loops may take advantage of the vector processing unit of our Stellar GS1000 computer for pipelined computations. Without the use of the vector processor the event-based code is faster than the history-based code because of numerical optimization performed during conversion to the event-based algorithm. When only the detection of unscattered photons is modeled, the event-based code executes 5.1 times faster with the use of the vector processor than without; when the detection of scattered and unscattered photons is modeled the speed increase is a factor of 2.9. Vectorization is a valuable way to increase the performance of Monte Carlo code for modeling photon transport in SPECT.
Smith
M F
MF
Department of Biomedical Engineering, Duke University, Durham, North Carolina 27706.
Floyd
C E
CE
Jaszczak
R J
RJ
D000465:Algorithms; D055592:Biophysical Phenomena; D001703:Biophysics; D003198:Computer Simulation; D005069:Evaluation Studies as Topic; D006801:Humans; D008962:Models, Theoretical; D009010:Monte Carlo Method; D017785:Photons; D012542:Scattering, Radiation; D012984:Software; D015899:Tomography, Emission-Computed, Single-Photon / Q000379:methods* / Q000706:statistics & numerical data