XRMC is a Monte Carlo program for the accurate simulation of X-ray imaging and spectroscopy experiments in heterogeneous samples. The use of the Monte Carlo method makes the code suitable for the detailed simulation of complex experiments on generic samples. Variance reduction techniques are used to reduce the computational time considerably compared to general-purpose Monte Carlo programs. The program is written in C++ and has been tested on Linux, Mac OS X and MS Windows platforms.

WWW: https://github.com/golosio/xrmc/wiki
