RE: USRYIELD binary output

From: Lee, Kerry T. \(JSC-SF\)[LMIT] (kerry.t.lee@nasa.gov)
Date: Fri Dec 08 2006 - 15:51:15 CET

  • Next message: Lee, Kerry T. \(JSC-SF\)[LMIT]: "USRYIELD binary output"

    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--


  • Next message: Lee, Kerry T. \(JSC-SF\)[LMIT]: "USRYIELD binary output"

    This archive was generated by hypermail 2.1.6 : Mon Dec 11 2006 - 00:33:40 CET