[neutron-mc] V_sample.comp
    Champion, JDM (Dickon)  
    D.Champion at rl.ac.uk
       
    Tue Sep 16 15:43:28 CEST 2003
    
    
  
Hello
after tearing my hair out for a couple of days i would like to make a
comment on this module
if you wish to make a cuboid sample you MUST make the counter-intuitive
declaration of radius_o=0.0 or h=0.
the radius and height of a cylindrical sample are set by default, 
therefore the first check in the INITIALIZE section "  if (!radius_o || !h)
" will never get a true response
and it will never consider the possibility of a cuboid sample.
a fix for this problem and to prevent the future confusion of others might
be a check for the declaration of the xwidth, yheight, zthick etc....
instead
dickon
Dr Dickon Champion 
ISIS Facility 
R3 Room 1-49 
Rutherford Appleton Laboratory 
Chilton 
OX11 0QX 
  
Tel : 01235 446043 (Office) 
      07939 084159 (Mobile) 
Fax : 01235 445720 
    
    
More information about the mcstas-users
mailing list