Re: Mixture of particles

From: Lucia Sarchiapone <Lucia.Sarchiapone_at_lnl.infn.it>
Date: Wed, 13 Jul 2011 15:23:32 +0200 (CEST)

Hi Bob,
if you want to simulate a mixed alpha/gamma source, my suggestion is to
write a source.f routine where you sample randomly the probability of
having and alpha or gamma decay (IJBEAM is the variable to modify for
the particle).
Cheers,

Lucia

On Jun 29, 2011 09:20 AM, zhbail_at_student.sysu.edu.cn wrote:

> Dear FLUKA experts and users,
>
> In source.f,it says
> ---------------------------------------
> * Push one source particle to the stack. Note that you could as well
> * push many but this way we reserve a maximum amount of space in the
> * stack for the secondaries to be generated
> * Npflka is the stack counter: of course any time source is called it
> * must be =3D0
> NPFLKA =3D NPFLKA + 1
> * Wt is the weight of the particle
> WTFLK (NPFLKA) =3D ONEONE
> WEIPRI =3D WEIPRI + WTFLK (NPFLKA)
> ----------------------------------------
> As i know from
>
> https://www.fluka.org/free_download/course/portugal2010/Lectures/AdvancedSources2010.pdf,
> user-defined source "allows the definition of primary particle
> properties(in
> space,energy,time,direction or mixture of particles) which cannot be
> described
> with built-in sources".
> Now i need to introduce a source of Plutonium which can produce alpha
> and gamma.I think i
> have to edit source.f,while the production are mixtu=
> re of particles.
> Is my thought right? and how can i defind the source that concluding
> two dif=
> frent particles?
>
> Many thanks
> Bob
>
>
Received on Wed Jul 13 2011 - 17:00:05 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 13 2011 - 17:00:15 CEST