McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


The Rayleigh_rl_rocess McXtrace Component

10.15  The Rayleigh_xrl_process McXtrace Component

Component that implements a Rayleigh scattering process

Identification

  • Author: Mads Bertelsen and Erik B Knudsen

  • Origin: ESS DMSC & DTU Physics & United Neux

  • Date: 20.08.15

Description

This Union_process is based on the Incoherent.comp component originally written by Kim Lefmann and Kristian Nielsen

Part of the Union components, a set of components that work together and thus separates geometry and physics within McXtrace. The use of this component requires other components to be used.

1) One specifies a number of processes using process components like this one 2) These are gathered into material definitions using Union_make_material 3) Geometries are placed using Union_box / Union_cylinder, assigned a material 4) A Union_master component placed after all of the above

Only in step 4 will any simulation happen, and per default all geometries defined before the master, but after the previous will be simulated here.

There is a dedicated manual available for the Union_components

Algorithm: Described elsewhere

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

density

g/cm\(^{3}\)

Nominal density of material.

0

atomno

1

Atomic number.

14

element

str

The element (symbol) of the material. Overrides atomno.

””

init

string

Deprecated and unused. Accepted so that instruments written for McStas/McXtrace 3.8.7 and earlier, which name the Union_init component here, still compile. OUTPUT PARAMETERS:

””

Links

  • Component source code found in file Rayleigh_xrl_process.comp.

  • The test/example instrument Test_Phonon.instr.


Last Modified: Monday, 05-Oct-2026 10:48:08 CEST
Search website mailinglist archive GitHub repos