About McStas Download Documentation 
[ Identification  Description  Input parameters  Output parameters  Links ] The
Perfect elliptic guide which allow for simulations with gravity.
The guide mirrors can be divided into segments with individual mvalues.
Parabolic guide components can also be simulated.

Name  Unit  Description  Default 

mvaluesright  pointer  Pointer to array of mvalues, right mirror  NULL 
mvaluesleft  pointer   same, left mirror  NULL 
mvaluestop  pointer   same, top mirror  NULL 
mvaluesbottom  pointer   same, bottom mirror  NULL 
seglength  pointer  Pointer to array of segment lengths for discrete mirror description  NULL 
l  m  length of the guide  
xwidth  see dimensionsAt  [m] width at the guide entry, mid or exit  0 
yheight  see dimensionsAt  [m] height at the guide entry, mid or exit  0 
linxw  m  distance from 1st focal point to guide entrance  left and right horizontal mirrors  0 
loutxw  m  distance from 2nd focal point to guide exit  left and right horizontal mirrors  0 
linyh  m  distance from 1st focal point to guide entrance  top and bottom vertical mirrors  0 
loutyh  m  distance from 2nd focal point to guide exit  top and bottom vertical mirrors  0 
majorAxisxw  m  direct defination of the guide geometry, will ignore w,h lin and lout parameters if this is nonzero. Length of the axis parallel to the z for the horizontal ellipse  0 
minorAxisxw  m  direct defination of the guide geometry, will ignore w,h lin and lout parameters if this is nonzero. Length of the axis Perpendicular to the z for the horizontal ellipse  0 
majorAxisyh  m  direct defination of the guide geometry, will ignore w,h lin and lout parameters if this is nonzero. Length of the axis parallel to the z for the vertical ellipse  0 
minorAxisyh  m  direct defination of the guide geometry, will ignore w,h lin and lout parameters if this is nonzero. Length of the axis Perpendicular to the z for the vertical ellipse  0 
majorAxisoffsetxw  m  direct defination of the guide geometry, distance between the center of the horizontal ellipse and the guide entrance  0 
majorAxisoffsetyh  m  direct defination of the guide geometry, distance between the center of the vertical ellipse and the guide entrance  0 
dimensionsAt  string  define whether xwidth and yheight sets the size of he opening, minor axis or the end of the guide.  "entrance" 
option  string  options are 'ellipse' and 'halfEllipse'. Ellipse is defined by both the focal points, while halfEllipse locked the center of the ellipse either the entrance or exit of the guide, and use the focal point of the other end to define the ellipse  "ellipse" 
R0  1  Lowangle reflectivity  0.99 
Qc  AA1  Critical scattering vector  0.0218 
alpha  AA  Slope of reflectivity  6.07 
m  1  mvalue of material for all mirrors, zero means complete absorption.  2 
W  AA1  Width of supermirror cutoff  0.003 
alpharight  AA  Slope of reflectivity for right vertical mirror  1 
mright  1  mvalue of material for right vertical mirror  1 
alphaleft  AA  Slope of reflectivity for left vertical mirror  1 
mleft  1  mvalue of material for left vertical mirror  1 
alphatop  AA  Slope of reflectivity for top horizontal mirror, overwrites alpha  1 
mtop  1  mvalue of material for top horizontal mirror, overwrites m  1 
alphabottom  AA  Slope of reflectivity for bottom horizontal mirror  1 
mbottom  1  mvalue of material for bottom horizontal mirror  1 
verbose  bool  Give extra information about calculations  "on" 
curvature  m  Simulate horizontal radius of curvature by centripetal force added to the gravity. Note: Does not curve the guide in mcdisplay but "curves the neutron". Has opposite sign definition of Guide_curved.  0 
Name  Unit  Description  Default 

guideInfo  
latestParticleCollision  
Gx  
Gy  
Gz  
Gx0  
Gy0  
Gz0  
Circ  
dynamicalSegLength 
Elliptic_guide_gravity.comp
.
[ Identification  Description  Input parameters  Output parameters  Links ]
Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Tue May 29 09:12:09 2018