RE: USRYIELD binary output

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

  • Next message: Konstantin Batkov: "Re: USRYIELD binary output"

    This is a multi-part message in MIME format.

    ------_=_NextPart_001_01C71AEF.5003FE53
    Content-Type: text/plain;
            charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable

    Sorry about the noise, but it is a problem of mine. The input file =
    should have had USRYIELD What1 as 77 and not -123, but I took the input =
    file from someone else and assumed it to be correct. =20

    Kerry

    -----Original Message-----
    From: Lee, Kerry T. (JSC-SF)[LMIT]
    Sent: Fri 12/8/2006 8:51 AM
    To: fluka-discuss@fluka.org
    Subject: RE: USRYIELD binary output
    =20
    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_01C71AEF.5003FE53
    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>Sorry about the noise, but it is a problem of =
    mine.&nbsp; The input file should have had USRYIELD What1 as 77 and not =
    -123, but I took the input file from someone else and assumed it to be =
    correct.&nbsp;<BR>
    <BR>
    Kerry<BR>
    <BR>
    <BR>
    -----Original Message-----<BR>
    From: Lee, Kerry T. (JSC-SF)[LMIT]<BR>
    Sent: Fri 12/8/2006 8:51 AM<BR>
    To: fluka-discuss@fluka.org<BR>
    Subject: RE: USRYIELD binary output<BR>
    <BR>
    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>
    <BR>
    <BR>
    </FONT>
    </P>

    </BODY>
    </HTML>
    ------_=_NextPart_001_01C71AEF.5003FE53--


  • Next message: Konstantin Batkov: "Re: USRYIELD binary output"

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