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

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

The Slit Component

Rectangular/circular slit


  • Author: Kim Lefmann and Henrik M. Roennow
  • Origin: Risoe
  • Date: June 16, 1997
  • Version:(Unknown)


A simple rectangular or circular slit. You may either
specify the radius (circular shape), or the rectangular bounds.
No transmission around the slit is allowed.

Example: Slit(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xmin m Lower x bound -0.01
xmax m Upper x bound 0.01
ymin m Lower y bound -0.01
ymax m Upper y bound 0.01
radius m Radius of slit in the z=0 plane, centered at Origo 0
xwidth m Width of slit. Overrides xmin,xmax. 0
yheight m Height of slit. Overrides ymin,ymax. 0


[ 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