Guide components
Per-Olof Åstrand
per-olof.aastrand at risoe.dk
Mon Apr 2 10:53:22 CEST 2001
Hi,
The problem may be that 1/300 is 0 if 1 and 300 are regarded as
integers. 1.0/300.0 should give the correct answer.
Best regards,
Per-Olof
"HUNTER, Brett" wrote:
>
>
> Hi All,
> Has anyone had problems with the Guide.comp, when W=1/300, as per
> the manual? I found I had to set it to the real number 0.0033 to stop
> an error from occuring. I am using the Borland Compiler on a PC, so
> maybe the Unix compilers handle this correctly.
>
> Ciao
> Brett
>
>
> ----------------------------------------------------------------------------------+
>
> Dr Brett Hunter
> Building 58, ANSTO,PMB 1, Menai,
> NSW 2234, Australia
> Work: -61-2-9717-3338
> Fax: -61-2-9717-3606
> email bah at ansto.gov.au
> Web sites: http://www.ansto.gov.au/ansto/neut/s_hun.html
> http://www.ansto.gov.au/ansto/neut/index.html
> http://www.rietica.org
> PGP Public key available.
>
> -----------------------------------------------------------------------------------+
>
>
>
--
Per-Olof Åstrand
Dept. of Chemistry, University of Copenhagen
and Materials Research Department, Risø National Laboratory
per-olof.aastrand at theory.ki.ku.dk or per-olof.aastrand at risoe.dk
http://www.ki.ku.dk and http://www.risoe.dk
More information about the mcstas-users
mailing list