From: Lee, Kerry T. \(JSC-SF\)[LMIT] (kerry.t.lee@nasa.gov)
Date: Thu Dec 07 2006 - 17:27:12 CET
This is a multi-part message in MIME format.
------_=_NextPart_001_01C71A1C.8C95B9F8
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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_01C71A1C.8C95B9F8
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>USRYIELD binary output</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=3D2>Dear FLUKA authors,<BR>
<BR>
I am reading a USRYIELD output that was written according to the =
following USRYIELD command<BR>
<BR>
USRYIELD -123.00000 201.00000-50.000000 4.0000000 5.0000000 =
1.0000000LET+0.1 <BR>
USRYIELD 1000.0000 0.0000000 100.00000 1.5000000 0.0000000 =
2603.0000 & <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. 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. 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?<BR>
<BR>
Thanks<BR>
Kerry</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C71A1C.8C95B9F8--
This archive was generated by hypermail 2.1.6 : Mon Dec 11 2006 - 00:34:08 CET