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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Union_stop

[ Identification | Description | Input parameters | Links ]

The Union_stop Component

Deprecated no-op placeholder, kept for backward compatibility.

Identification

  • Author: Mads Bertelsen
  • Origin: University of Copenhagen
  • Date: 20.08.15

Description

Part of the Union components, a set of components that work together and thus
sperates geometry and physics within McStas.

This component used to be required as the LAST component. It pulled in the
dispatch switch (union-suffix.c) so it would be compiled after all the
process components had defined their PROCESS DETECTOR macros.

That is no longer needed: each process registers its own case with the
dispatch in Union_master, whose TRACE code is compiled after every
component SHARE section. The Union_init and Union_stop components are
therefore optional.

This definition is kept only so that existing instruments that still place a
Union_stop component continue to compile. It emits a deprecation warning
and has no effect.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links

  • Source code for Union_stop.comp.
  • ******************************************************************************/

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

Generated on mcstas 3.9.2


Last Modified: Tuesday, 06-Oct-2026 21:19:12 CEST
Search website mailinglist archive GitHub repos