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

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: Union_master

[ Identification | Description | Input parameters | Links ]

The Union_master Component

The Master Union assembles specifications (e.g. processes, materials, geometries).

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
sperates 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 Union_make_material
3) Geometries are placed using Union_box/cylinder/sphere, assigned a material
4) This master component placed after all of the above

Only in step 4 will any simulation happen, and per default all geometries
defined before this 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.
NameUnitDescriptionDefault
verbal0/1Toogles terminal output describing the defined simulation1
list_verbal0/1Toogles information of all internal lists in intersection network0
finally_verbal0/1Toogles information about cleanup performed in finally section0
allow_inside_start0/1Set to 1 if rays are expected to start inside a volume in this master0
enable_tagging0/1Enable tagging of ray history (geometry, scattering process)0
history_limit1Limit the number of unique histories that are saved300000
enable_conditionals0/1Use conditionals with this master1
inherit_number_of_scattering_events0/1Inherit the number of scattering events from last master0
display_mode0/1/2Volume display in mcdisplay: 0 follows --trace, 1 forces lines, 2 polyhedra (only with --trace=2, --trace=1 always gives lines)0
initstringDeprecated and unused. Accepted so that instruments written for McStas/McXtrace 3.8.7 and earlier, which name the Union_init component here, still compile.""
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Examples | Input parameters | Links ]

Generated on mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 22:21:08 CET
Search website mailinglist archive GitHub repos