We present two main developments within the ray tracing package McXtrace in the recent timespan; The Union concept for building complex sample geometries which may also include sample environments, and the next generation code generator (nicknamed 3.0) which includes the option for GPU-acceleration through the OpenACC programming standard. Union is a concept which allows beamline simulation users to define enclosed regions in which the regular sequential nature of McXtrace simulation is replaced by a scattering network. Within the network any object can scatter towards any other object. Through a pre-analysis of the scattering the this may be done without excessive computational effort - i.e. it is still practical on a standard desktop computer without high-end specs. We will discuss our result results with this concept and how it can be used to, for instance, assess background contributions. Using the OpenACC programming paradigm, the simulation code generated by the new code generator, may now harness the power of novel GPU-cards for faster ray tracing, with fairly non-invasive changes to the user facing code. We will present results on where GPUs may be benefited from and what the user is required to do, in order to enjoy significant speed-ups.
This paper presents details on some of the important new features in the newly released version of the x-ray tracing software package McXtrace. Although many developments have been made, this presentation is focused on the features that were required to meet the challenges posed for accurate simulation of the DanMAX beamline - a beamline currently under design at the MAX IV synchrotron. Among these may be mentioned: new source-models, new monochromator crystal models, multilayer capabilities, and the full beamline simulation frame itself.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.