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)


The Arm McStas Component

4.1  The Arm McStas Component

Arm/optical bench

Identification

  • Author: Kim Lefmann and Kristian Nielsen

  • Origin: Risoe

  • Date: September 1997

Description

An arm does not actually do anything, it is just there to set up a new coordinate system.

Example: Arm()

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

Links

  • Component source code found in file Arm.comp.

The generic component



Name:

Arm



Author:

System



Input parameters

(none)



Optional parameters

(none)



Notes




The component Arm is empty; is resembles an optical bench and has no effect on the neutron ray. The purpose of this component is only to provide a standard means of defining a local coordinate system within the instrument definition. Other components may then be positioned relative to the Arm component using the McStas meta-language. The use of Arm components in the instrument definitions is not required but is recommended for clarity. Arm has no input parameters.

The first Arm instance in an instrument definition may be changed into a Progress_bar component in order to display on the fly the simulation progress, and possibly save intermediate results.


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