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: Hidden_Cylinder

[ Identification | Description | Input parameters | Links ]

The Hidden_Cylinder Instrument

Small test instrument testing placement of low-priority Union cylinder within higher-priority Union cylinder.

Identification

  • Site: Tests_union
  • Author: Daniel Lomholt Christensen
  • Origin: UCPH@NBI, Funded by ACTNXT
  • Date: 15:54:48 on January 20, 2026

Description

A small test instrument testing the placement of one cylinder with a low priority
fully inside another cylinder with a higher priority. This was added to test
for an mcdisplay error that used to occur, when a cylinder is completely
enclosed in another cylinder.
To test this simply do
a "mcdisplay Hidden_Cylinder.instr -c -y"

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
pin_radmRadius of source0.0025
dmDistance between source and sample center10
detector_xmDetector Width0.01
detector_ymDetector Height0.04
det_distmDistance between detector and sample center0.005

Links


[ Identification | Description | Input parameters | Links ]

Generated for mcstas 3.6.14


Last Modified: Monday, 13-Apr-2026 11:30:08 CEST
Search website mailinglist archive GitHub repos