McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Union_master

[ Identification | Description | Input parameters | Links ]

The Union_master Component


  • Site:
  • Author: Mads Bertelsen
  • Origin:
  • Date: 20.08.15


Part of the Union components, a set of components that work together and thus
sperates geometry and physics within McStas.
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

Described elsewhere

Input parameters

Parameters in boldface are required; the others are optional.
verbalboolToogles terminal output describing the defined simulation1
list_verbalboolToogles information of all internal lists in intersection network0
finally_verbalboolToogles information about cleanup performed in finally section0
allow_inside_startboolSet to 1 if rays are expected to start inside a volume in this master0
enable_taggingboolEnable tagging of ray history (geometry, scattering process)0
history_limitboolLimits how many histories are recorded before stopping300000
enable_conditionalsboolUse conditionals with this master1
inherit_number_of_scattering_eventsboolInherit the number of scattering events from last master0
record_absorptionboolToggles logging of absorption0


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43

Last Modified: Tuesday, 16-Apr-2024 20:05:22 CEST
Search website mailinglist archive GitHub repos