Re: modify the number of particles in START card

From: Giuseppe Battistoni <Giuseppe.Battistoni_at_mi.infn.it>
Date: Wed, 07 Apr 2010 17:27:50 +0200

Yes, you can. The steps are the following:
1) In your input file give in the START card any number of primaries.
2) In your source you must include the common (CASLIM). The number of
primaries to be followed
is contained in the Integer variable NCASES
3) you can overwrite the content of NCASES giving, at initialization
time, the numer of primaries to be followed
Notice that in the include file of (CASLIM) there is a description of
all variables.
    Good luck
          Giuseppe

Fiorini Francesca wrote:
> Hi everybody,
>
> I am running a simulation in two steps: in the first step I am running a
> fixed number of particles using as usual the START card and scoring the
> spectrum of some particles created after the irradiation of a target.
> In the second step I am using those scored particles as primary for a
> second irradiation. In reality the simulation is more complex but this
> is a good summary.
>
> My problem is that I do not want to have to write the number of
> primaries to use in the second step in the card START, but want this
> automated.
>
> So my questions is: does exist a way in which I can pass the number of
> particles without using the exact number in the START card? For example
> something like modifying that number in the source file related to the
> second input file?
>
> Thanks
> Francesca
>
>
> Francesca Fiorini
> Medical Physics Group,
> School of Physics and Astronomy,
> University of Birmingham,
> Edgbaston Park Road,
> B15 2TT,
> Birmingham,
> UK
>
>
>
Received on Wed Apr 07 2010 - 18:18:46 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 07 2010 - 18:18:46 CEST