Component Manual for the Neutron Ray-Tracing Package McStas, version 3.8.6

12.3  The Union_master McStas Component

Master component for Union components that performs the overall simulation

Identification

Description

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

Algorithm: Described elsewhere

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

enable_refraction

0/1

Toggles refraction effects, simulated for all materials that have refraction parameters set

1

enable_reflection

0/1

Toggles reflection effects, simulated for all materials that have refraction parameters set

1

verbal

0/1

Toogles printing information loaded during initialize

0

list_verbal

0/1

Toogles information of all internal lists in intersection network

0

finally_verbal

0/1

Toogles information about cleanup performed in finally section

0

allow_inside_start

0/1

Set to 1 if rays are expected to start inside a volume in this master

0

enable_tagging

0/1

Enable tagging of ray history (geometry, scattering process)

0

history_limit

1

Limit the number of unique histories that are saved

300000

enable_conditionals

0/1

Use conditionals with this master

1

inherit_number_of_scattering_events

0/1

Inherit the number of scattering events from last master

0

weight_ratio_limit

1

Limit on the ratio between initial weight and current, ray absorbed if ratio becomes lower than limit

1e-90

init

string

Name of Union_init component (typically "init", default)

"init"

Links