From: Alberto Fasso' (fasso@SLAC.Stanford.EDU)
Date: Sat Sep 02 2006 - 01:48:37 CEST
On Thu, 31 Aug 2006, Harine, Katherine wrote:
> In broad terms, you will need to write a source.f file to sample the =
> various energies in your input spectrum. You may want to write a =
> separate one for each important ion in the cosmic rays, for example, =
> protons, alphas, carbon, iron, et cetera. Hence you would have a =
> separate run for each ion and each run would sample a file that had the =
> spectrum for that particular ion.
Not necessarily. It is possible to write a source.f subroutine which
samples a particle type every time it is called. Of course, however,
you must provide a spectrum for each kind of particle and that could
make the routine heavy to handle.
Alberto
-- Alberto Fasso` SLAC-RP, MS 48, 2575 Sand Hill Road, Menlo Park CA 94025 Phone: (1 650) 926 4762 Fax: (1 650) 926 3569 fasso@slac.stanford.edu
This archive was generated by hypermail 2.1.6 : Sat Sep 02 2006 - 19:55:17 CEST