Re: FW: [fluka-discuss]: usrbin matrix

From: Francesco Cerutti <Francesco.Cerutti_at_cern.ch>
Date: Fri, 17 May 2019 17:37:51 +0200

Hallo,

in your fortran code, did you declare A as an array by a DIMENSION
statement?

Moreover, if copie.txt is the formatted usrbin output you attached, you
should skip the text/empty lines and read ten numbers per line, to be then
arranged in your A matrix by identifying the respective three indices.
This has to be done taking into account that the i index runs first (while
in your READ statement - which is anyway wrong since it should apply
(multiple times) to a single line of ten numbers - you assume that k runs
first).

Hope this helps

Francesco

**************************************************
Francesco Cerutti
CERN-EN/STI
CH-1211 Geneva 23
Switzerland
tel. +41 22 7678962

> From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Nacira HANOUF
> [n.hanouf_at_ump.ac.ma]
> Sent: 08 May 2019 21:02
> To: fluka-discuss_at_fluka.org
> Subject: [fluka-discuss]: usrbin matrix
>
> Dear experts
> I wont to read a matrix resulting from usrbin cart, i wrote this script  to generate column. Please guide.
> 1.PNG
> 2.PNG
> 3.PNG
>
>
> [icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]
> Garanti sans virus. www.avast.com
>
>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri May 17 2019 - 19:10:26 CEST

This archive was generated by hypermail 2.3.0 : Fri May 17 2019 - 19:28:58 CEST