McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 Known problems
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: Slit Component

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

The Slit Component

Rectangular/circular slit

Identification

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

Description

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)
         Slit(xwidth=0.02, yheight=0.02)
         Slit(radius=0.01)

The Slit will issue a warning if run as "closed"

Input parameters

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

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Tue Apr 2 12:43:09 2019


Last Modified: Tuesday, 02-Apr-2019 14:43:09 CEST
Search website mailinglist archive GitHub repos