Re: Reading source particles from a file

From: Florian Sommerer <florian.sommerer@cern.ch>
Date: Fri Jul 11 2008 - 17:56:46 CEST

Dear Sharmalee,

you are reading the energy, directions and coordinates from a file with
50000 entries. But you are running 500000 neutrons. The run crashes at
the 50001 particles when you try to read the particle properties but the
end of the file was already reached.

You easily simulate 500000 particles when you run 10 cycles with 50000
primaries each.

Cheers, Florian

Sharmalee Randeniya wrote:
>
> Hi,
>
> Can someone tell me why my simulation crashes. I have attached the
> files. I read the source particles from test.dat.
>
> Thanks!
>
>
> Sharmalee

-- 
###########################################
Florian Sommerer
European Organization for Nuclear Research
CERN AB-ATB-EET
Mailbox Z04500
Geneve 23
CH-1211 Switzerland
Tel : +41 2276 75582
Fax : +41 2276 77555
###########################################
Received on Sat Jul 12 00:29:26 2008

This archive was generated by hypermail 2.1.8 : Sat Jul 12 2008 - 00:29:26 CEST