Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This is a modification of the MC-GPU software to include Phase Space Files, further modified for Windows and CUDA13 compatibility

License

Notifications You must be signed in to change notification settings

jsmaltz/MCGPU-PSF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MC-GPU PSF


This repository contains the tools described in the technical note: "Technical Note: MC-GPU breast dosimetry validations with other Monte Carlo codes and Phase Space File implementation" RT Massera, RM Thomson and A Tomal.

How to cite:

Massera, RT, Thomson, RM, Tomal, A. Technical note: MC-GPU breast dosimetry validations with other Monte Carlo codes and phase space file implementation. Med. Phys. 2022; 49: 244– 253. https://doi.org/10.1002/mp.15342

Each folder contains specific codes and implementations (with further informations of the original sources).

Contens:

  1. MCGPU_files: the modified MC-GPU files to include phase space files
  2. example: a simulation for testing the phase space files
  3. PSFBin2IAEA: Fortran routine to convert raw binary files to IAEA format

Instructions:

  • Compile MC-GPU binary 1 and place on example folder 2.
  • Run the example following the instructions within the folder.
  • After the simulation is finished, three files will be generated in examples/images: mcgpu_image_x_psf.raw (x=1,2,3).
  • Compile the psfconvert binary 3.
  • Run psfbin2fort.py script following the instructions to convert the PSF in binary to Fortran compatible.
  • Copy the psfconvert executable to the directory containing the PSF binary (the one generated with the Python script) and run
  • If successful, two files will be generated: filename.IAEAheader and filename.IAEAphsp.
  • Those PSF now can be loaded in other MC codes.

Each code has a specific license, indicated in each folder. Otherwise, if not indicated, the contributions of this work are released under the LICENSE file in the main directory.

About

This is a modification of the MC-GPU software to include Phase Space Files, further modified for Windows and CUDA13 compatibility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Cuda 57.8%
  • C++ 23.7%
  • C 15.1%
  • Fortran 2.6%
  • Shell 0.5%
  • Python 0.3%