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: CavitiesIn Component

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

The CavitiesIn Component

Slit - sorting in channels


  • Author: Henrich Frielinghaus
  • Origin: JCNS - FZ-Juelich
  • Date: Oct 2007
  • Version:(Unknown)


This routine sorts the 'full' neutron beam (given by xw,yw)
in xc,yc channels. These can be imagined as cavities.
CavitiesOut sorts these channels back to normal coordinates. 

Example: Slit(xw=0.05, yw=0.05, xc=4, yc=1)

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xw m width in X-dir 0.05
yw m width in Y-dir 0.05
xc m channels in X-dir 1
yc m channels in Y-dir 1


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:31 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:31 CET
Search website mailinglist archive GitHub repos