Paper
23 September 2011 SHADOW3-API: the application programming interface for the ray tracing code SHADOW
Author Affiliations +
Abstract
We developed the third version of SHADOW, a ray tracing software widely used to design optical system in the synchrotron world. SHADOW3 is written in Fortran 2003 and follows the new computer engineering standards. The users can always execute the program in the traditional file oriented approach. Moreover, advanced users can create personalized scripts, macros and executables using the new Application Programming Interface SHADOW3-API. It also allows binding of SHADOW3 with several popular programming languages such as C, C++, python and IDL. We describe the SHADOW3 API structure, and illustrate its use with some examples. We analyze the possibilities of running SHADOW3 in parallel machines under different environments. A version using the Open Message Parsing Interface has been implemented. A SHADOW3 postprocessor has been accelerated with the use Graphics Processing Units. This will open new possibilities to extend the already very popular ray tracing tool to applications simulating 2D and 3D experiments (like imaging, tomography)
© (2011) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Niccolò Canestrari, Dimitris Karkoulis, and Manuel Sánchez del Río "SHADOW3-API: the application programming interface for the ray tracing code SHADOW", Proc. SPIE 8141, Advances in Computational Methods for X-Ray Optics II, 814112 (23 September 2011); https://doi.org/10.1117/12.893433
Lens.org Logo
CITATIONS
Cited by 3 scholarly publications.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Computer programming

Ray tracing

C++

Optical components

Interfaces

Synchrotrons

Binary data

Back to Top