Re: [fluka-discuss]: Problem with old version of lattic.f

From: Alexander <panov_at_dec1.sinp.msu.ru>
Date: Wed, 14 Oct 2020 12:56:37 +0300

Dear Paola,

Your solution really works! Thank you very much. I generally understand
your explanation and I also wonder, why all this did work before.

Best regards,

Alexander

14.10.2020 10:34, Paola Sala пишет:
> Dear Alexander
> the crash and the message come from the lattic.f routine itself, more
> exactly from the LATNOR entry. In the distributed template there is coded
> an example of LATNOR usage, that calls a STOP if the lattice number is not
> in the foreseen range. This is what happens to you.
>
> Solution: take away the example lines (as in the attached routine)
>
> Puzzle: the same piece of code is in the old lattic version, I do not
> understand how could it run.
>
> New-old lattic differences: the difference in the new vs old lattic is the
> possibility to define "double rotations" in the input file, this part does
> not apply to your case since you do not use ROT-DEFI cards
>
> Warning: In general, the LATNOR entry should be coded as well, because the
> code calls it to retrieve the real orientation of surfaces. In your
> specific case, everything works because the lattice transformation is a
> translation. In case of rotations or reflections,the tracking would go
> crazy.
>
> Hope this helps
> Paola
>> Dear FLUKA team,
>>
>> Five years ago I prepared a rather complicated project to simulate real
>> large cosmic-ray spectrometer based on a ionization calorimeter. The
>> project uses both source.f and lattic.f options. The project worked very
>> well during five years up to the last upgrade of FLUKA. This time the
>> compatibility from down to up in *.f programs was broken. I could
>> correct my source.f code, but can't incorporate my old solution to the
>> new format in lattic.f code. I obtain the message "*** Lattice geometry
>> non supported !!! ***          82" in *.out file and only header of
>> output file with events. In Files.zip all my relevant files, and
>> lattic-old.f is my old solution for previous version of FLUKA. Can you
>> please help me to incorporate my old solution to new format of lattic.f
>> file?
>>
>> Best regards,
>>
>> Alexander
>>
>>
>
> Paola Sala
> INFN Milano
> tel. Milano +39-0250317374
> tel. CERN +41-227679148


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Oct 14 2020 - 13:31:31 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 14 2020 - 13:32:04 CEST