Re: SOURCE : user-written source

From: Alberto Fasso' <fasso_at_mail.cern.ch>
Date: Thu, 21 Jul 2011 21:17:16 +0200

Bob,

in your source, the statement

DO 10 I=1,2

starts in column 1. In fortran 77 (the language FLUKA is written in) all
statements must start in column 7. So you should have:
        DO 10 I=1,2

In the same way, the statement
10 CONTINUE
should be written
   10 CONTINUE
(CONTINUE must start in column 7).

But why do you want to load two particles at the time? I don't see the
advantage

Alberto

On Thu, 21 Jul 2011, zhbail_at_student.sysu.edu.cn wrote:

> Hi all,
>
> In "SOURCE : user-written source",it says:
> "The user can load onto the FLKSTK stack one or more source particles at each call: for each particle loaded
> the pointer must be increased by 1. The template version of SOURCE loads only one particle: if several are
> loaded the following sequence, until the statement CALL SOEVSV not included, must be repeated once for
> each particle, possibly inside a DO loop:"
>
> I have wrote a source.f to load two particles at each call but it complied failed.I guess my DO loop is worry.
> Could someone help me to modify my source.f, and tell me exactly which part must be repeated?
>
> Thanks,
> Bob
Received on Fri Jul 22 2011 - 00:27:51 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 22 2011 - 00:27:51 CEST