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

 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems
 C Compilers



Links <- UPDATED!

Report bugs


McStas Ubuntu live-dvd

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 <> / Tue May 29 09:12:09 2018

Last Modified: Tuesday, 29-May-2018 11:12:09 CEST
Search website mailinglist archive GitHub repos