[neutron-mc] L_monitor.comp

Philip Wilk pwilk-neutron at zenspider.com
Mon Mar 24 11:00:15 CET 2003


Which version of L_monitor.comp I should be 
using? I am using the mcstas version 1.6.4d executable and the 1.6.4e
library. I am runing it all on a Win2K box with with free bcc compiler.
This version includes a L_monitor.comp version 1.16, however, 
the MCSTAS website lists a version L_monitor.comp 1.4 for use with the 
MCSTAS 1.5 distribution. Now if this is not all confusing enough, I 
aways get a non-fatal "sqrt: DOMAIN error" when using either version.
I have tracked it down to the "L_p[i] += p;" line in L_monitor.comp .
It seems to still work fine, and sometimes when running the compiled
simulation binary, I do not get this error; then when I run it again,
I get the error. It always seems to generate reasonable results even
with the error.

I would really apprciate any insight or advice.

Regards,
Philip Wilk





More information about the mcstas-users mailing list