User and Programmers’ Guide to the X Ray-Tracing Package McXtrace, version 3.8.6

Preface and acknowledgements

This document contains information on the Monte Carlo x-ray tracing program McXtrace version 3.8.6, building on the initial release in October 1998 of the neutron ray tracing program McStas version 1.0 as presented in Ref. [LN99]. The reader of this document is expected to have some knowledge of x-ray and/or neutron scattering, whereas only little knowledge about simulation techniques is required. In a few places, we also assume familiarity with the use of the C programming language and UNIX/Linux.

Support has been kindly given by SAXLAB Aps. through its CEO Karsten Joensen as well the ESRF and MAX IV Laboratory. We acknowledge all contributing parties.

In case of errors, questions, or suggestions, please do not hesitate to contact the team and the community by either writing to the user mailing list mcxtrace-users@mcxtrace.org, consulting the McXtrace home page [Mcx], or leaving a note on the McXtrace facebook page https://www.facebook.com/McXtrace. A special bug/request reporting service is available [Mcz].

If you appreciate this software, please subscribe to the mcxtrace-users@mcxtrace.org email list, send us a smiley message, and contribute to the package.

We encourage you to refer to this software when publishing result with the following citation: E. B. Knudsen, et. al., Journal of Applied Crystallography, vol. 46, 2013.

Third party software included in the distribution McXtrace is:

The McXtrace project was initially supported by Det Strategiske Forskningsråd through the NaBiIT programme. Partners in this joint venture were: