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

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


Source_flux_lambda

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

The Source_flux_lambda component

Neutron source with flat wavelength spectrum and user-specified flux.

Identification

  • Author: KN
  • Origin: McStas release
  • Date: 1998
  • Version: 1.3
  • Modification history:
    • KN, 1998 from Source_flat.comp

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
wavelength is uniformly distrubuted between lambda_0 - d_lambda and
lambda_0 + d_lambda. The source flux is specified in neutrons per steradian
per square cm per AAngstroem.

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  
lambda_0 AA Mean wavelength of neutrons.  
d_lambda AA Wavelength spread of neutrons.  
flux 1/(cm**2*st*AA) Source flux  

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