RE: USRYIELD binary output

From: Alfredo Ferrari (alfredo.ferrari@cern.ch)
Date: Mon Dec 11 2006 - 14:35:50 CET

  • Next message: me@marychin.org: "miraculous zero photoneutron production?"

    Hi Kerry

    the code tries to unpack from what(1) the infos about which two physical
    quantities you want to deal with. Probably a nonsense number is unpacked
    into something strange (I should verify).

                     Ciao
                    Alfredo
    On Fri, 8 Dec 2006, Lee, Kerry T. (JSC-SF)[LMIT] wrote:

    > This is a multi-part message in MIME format.
    >
    > ------_=_NextPart_001_01C71AD8.4F96A1D0
    > Content-Type: text/plain;
    > charset="iso-8859-1"
    > Content-Transfer-Encoding: quoted-printable
    >
    > I seem to have found that I was in error when explaining the problem. I =
    > missed the fact that what12 is stored as the next variable after what1, =
    > but the value stored where what1 should be is 77 and the value from the =
    > input file is -123. How is this not being transferred correctly to the =
    > output file?
    >
    > Thanks
    > Kerry
    >
    >
    > -----Original Message-----
    > From: Lee, Kerry T. (JSC-SF)[LMIT]
    > Sent: Thu 12/7/2006 10:27 AM
    > To: fluka-discuss@fluka.org
    > Subject: USRYIELD binary output
    > =20
    >
    > Dear FLUKA authors,
    >
    > I am reading a USRYIELD output that was written according to the =
    > following USRYIELD command
    >
    > USRYIELD -123.00000 201.00000-50.000000 4.0000000 5.0000000 =
    > 1.0000000LET+0.1 =20
    > USRYIELD 1000.0000 0.0000000 100.00000 1.5000000 0.0000000 2603.0000 & =
    > =20
    > =20
    > I am trying to parse the file using a C++ routine, so it is imperitive I =
    > understand the details of what is written where. I followed the code in =
    > the manual on reading the USRYIELD output =
    > (http://www.fluka.org/manual/sect/s090/text.html) and see that the =
    > variable ITUSYL(NY) is supposed to correspond to the What1. When I read =
    > this file the variable reads a value of 2603, which is my What12 and not =
    > What1. I have taken into account the extra bytes that fortran writes =
    > and all the other values are read in correctly, so is this a bug or am I =
    > missing something?
    >
    > Thanks
    > Kerry
    >
    >
    > ------_=_NextPart_001_01C71AD8.4F96A1D0
    > Content-Type: text/html;
    > charset="iso-8859-1"
    > Content-Transfer-Encoding: quoted-printable
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
    > <HTML>
    > <HEAD>
    > <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
    > charset=3Diso-8859-1">
    > <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
    > 6.5.7651.34">
    > <TITLE>RE: USRYIELD binary output</TITLE>
    > </HEAD>
    > <BODY>
    > <!-- Converted from text/plain format -->
    >
    > <P><FONT SIZE=3D2>I seem to have found that I was in error when =
    > explaining the problem.&nbsp; I missed the fact that what12 is stored as =
    > the next variable after what1, but the value stored where what1 should =
    > be is 77 and the value from the input file is -123.&nbsp; How is this =
    > not being transferred correctly to the output file?<BR>
    > <BR>
    > Thanks<BR>
    > Kerry<BR>
    > <BR>
    > <BR>
    > -----Original Message-----<BR>
    > From: Lee, Kerry T. (JSC-SF)[LMIT]<BR>
    > Sent: Thu 12/7/2006 10:27 AM<BR>
    > To: fluka-discuss@fluka.org<BR>
    > Subject: USRYIELD binary output<BR>
    > <BR>
    > <BR>
    > Dear FLUKA authors,<BR>
    > <BR>
    > I am reading a USRYIELD output that was written according to the =
    > following USRYIELD command<BR>
    > <BR>
    > USRYIELD&nbsp; -123.00000 201.00000-50.000000 4.0000000 5.0000000 =
    > 1.0000000LET+0.1&nbsp;&nbsp;<BR>
    > USRYIELD&nbsp;&nbsp; 1000.0000 0.0000000 100.00000 1.5000000 0.0000000 =
    > 2603.0000 &amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
    > <BR>
    > I am trying to parse the file using a C++ routine, so it is imperitive I =
    > understand the details of what is written where.&nbsp; I followed the =
    > code in the manual on reading the USRYIELD output (<A =
    > HREF=3D"http://www.fluka.org/manual/sect/s090/text.html">http://www.fluka=
    > .org/manual/sect/s090/text.html</A>) and see that the variable =
    > ITUSYL(NY) is supposed to correspond to the What1.&nbsp; When I read =
    > this file the variable reads a value of 2603, which is my What12 and not =
    > What1.&nbsp; I have taken into account the extra bytes that fortran =
    > writes and all the other values are read in correctly, so is this a bug =
    > or am I missing something?<BR>
    > <BR>
    > Thanks<BR>
    > Kerry<BR>
    > <BR>
    > </FONT>
    > </P>
    >
    > </BODY>
    > </HTML>
    > ------_=_NextPart_001_01C71AD8.4F96A1D0--
    >

    -- 
    +----------------------------------------------------------------------------+
    |  Alfredo Ferrari                ||  Tel.: +41.22.767.6119                  |
    |  CERN-AB                        ||  Fax.: +41.22.767.7555                  |
    |  1211 Geneva 23                 ||  e-mail: Alfredo.Ferrari@cern.ch        |
    |  Switzerland                    ||          Alfredo.Ferrari@mi.infn.it     |
    +----------------------------------------------------------------------------+
    

  • Next message: me@marychin.org: "miraculous zero photoneutron production?"

    This archive was generated by hypermail 2.1.6 : Mon Dec 11 2006 - 16:23:26 CET