Re: USRBIN result

From: Alfredo Ferrari <alfredo.ferrari_at_cern.ch>
Date: Wed, 23 Sep 2009 08:56:19 +0200

Not at all!! 1P in Fortran means that numbers like .00123 should
be written like 1.23E-03 instead of 0.123E-02 which is default.
(or 123000. is written as 1.23E+05 instead of 0.123E+06)
The numbers are printed as they are, they are not changed!
Only the way are printed is changed!

            Ciao
           Alfredo

+----------------------------------------------------------------------+
| Alfredo Ferrari || Tel.: +41.22.76.76119 |
| CERN-EN/STI || Fax.: +41.22.76.69474 |
| 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
| Switzerland || |
+----------------------------------------------------------------------+

On Wed, 23 Sep 2009, Xu Lijun wrote:

> Dear Fluka experts:
> I get a USRBIN result which has a line like:
>
> Data follow in an array A(ir), format (1(5x,1p,10(1x,e11.4)))
> accurate deposition along the tracks requested
> this is a track-length binning
> 1.1874E-12 3.0858E-11 8.9346E-13 1.8204E
>
> In fortran syntax "1p" means the decimal point of output move to right
> one digit, so the real value is the tenth of the above result?
> That is, the first real value is 1.1874E-12*0.1=1.1874E-13,
> the second is 3.0858E-11*0.1=3.0858E-12, .....?
>
> Thank you very much in advance.
>
> Your sincerely Xu Lijun
> 2009-09-23
>
Received on Wed Sep 23 2009 - 09:53:54 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 23 2009 - 09:53:55 CEST