McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; Niels Bohr Institute Risø DTUDTU

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Install
 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


Source_flat

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

The Source_flat component

Neutron source with flat energy spectrum and arbitrary flux

Identification

  • Author: KL
  • Origin: McStas release
  • Date: October 30, 1997
  • Version: 1.6
  • Modification history:
    • KL, KN, October 5, 1998

Description

The routine is a circular neutron source, which aims at a square target
centered at the beam (in order to improve MC-acceptance rate).  The angular
divergence is then given by the dimensions of the target. The neutron energy is
uniformly distrubuted between E0-dE and E0+dE.

ToDo: More flexible specification of E distribution.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
radius m Radius of circle in (x,y,0) plane where neutrons are generated.  
dist m Distance to target along z axis.  
xw m Width(x) of target  
yh m Height(y) of target  
E0 meV Mean energy of neutrons.  
dE meV Energy spread of neutrons.  

Output parameters

Name Unit Description Default
hdiv  
vdiv  
p_in  

Links


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

Generated automatically by McDoc, Kristian Nielsen <kristian.nielsen@risoe.dk> / Jan 22 2001


Last Modified: Tuesday, 22-Jun-2004 14:04:09 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac