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 Union_ake_aterial McXtrace Component

10.11  The Union_make_material McXtrace Component

Component that takes a number of Union processes and constructs a Union material

Identification

  • Author: Mads Bertelsen and Erik B Knudsen

  • Origin: ESS DMSC & DTU Physics

  • Date: 20.08.15

Description

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 2) These are gathered into material definitions using this component 3) Geometries are placed using Union_box/cylinder/sphere, 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

process_string

string

Comma seperated names of physical processes

”NULL”

my_absorption

1/m

Inverse penetration depth from absorption at standard energy

absorber

0/1

Control parameter, if set to 1 the material will have no scattering processes

0

material_string

string

List of elements present in the material. Triggers a search for materials constants files.

”NULL”

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.

””

Links

  • Component source code found in file Union_make_material.comp.


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