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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Share

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tutorial

Workshops/conferences

Developments
 Platforms

Links

Report bugs

SVN

McStas Ubuntu live-dvd


McStas: Slit Component

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

The Slit Component

Rectangular/circular slit with optional insignificance cut

Identification

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

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.
If cutting option is used, low-weight neutron rays are ABSORBED

Example: Slit(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01)
         Slit(radius=0.01, cut=1e-10)

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
cut 1 Lower limit for allowed weight 0
width 0
height 0

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri May 11 08:41:08 2012


Last Modified: Friday, 11-May-2012 10:41:08 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac