About McStas Download Documentation 
[ Identification  Description  Input parameters  Output parameters  Links ] The
Neutron source with adaptive importance sampling

Name  Unit  Description  Default 

N_E  1  Number of bins in energy (or wavelength) dimension  20 
N_xpos  1  Number of bins in horizontal position  20 
N_xdiv  1  Number of bins in horizontal divergence  20 
xmin  m  Left edge of rectangular source  0 
xmax  m  Right edge  0 
ymin  m  Lower edge  0 
ymax  m  Upper edge  0 
xwidth  0  
yheight  0  
filename  string  Optional filename for adaptive distribution output  0 
dist  m  Distance to target rectangle along z axis  0 
focus_xw  m  Width of target  0.05 
focus_yh  m  Height of target  0.1 
E0  meV  Mean energy of neutrons  0 
dE  meV  Energy spread (energy range is from E0dE to E0+dE)  0 
lambda0  AA  Mean wavelength of neutrons (if energy not specified)  0 
dlambda  AA  Wavelength spread half width  0 
flux  1/(cm**2*AA**st)  Absolute source flux  1e13 
target_index  1  relative index of component to focus at, e.g. next is +1 this is used to compute 'dist' automatically.  +1 
alpha  1  Learning cutoff factor (0 < alpha <= 1)  0.25 
beta  1  Aggressiveness of adaptive algorithm (0 < beta <= 1)  0.25 
Name  Unit  Description  Default 

p_in    Internal, holds initial neutron weight  
y_0    Internal  
C    Internal  
r_0    Internal  
count    Internal, counts neutrons emitted  
adpt    Internal structure shared with the Adapt_check component 
Source_adapt.comp
.
[ Identification  Description  Input parameters  Output parameters  Links ]
Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Mar 17 20:40:06 2017