c
c Routine directly callable from C/C++ (it could be necessary to
c append an underscore, "_", to its name depending on the C/C++
c compiler used).
c
c
subroutine spsetprimaryenergy(primener, irc)
c
c Manual setting of the primary energy.
c
c This routine may be called when the dynamical setting of the
c primary energy is in effect. This means that the primary
c particle is a special particle and that the input IDL
c instructions do not include any PrimaryEnergy IDL directive.
c In such cases, the primary energy will be automatically
c set as the sum of the energies of all the particles injected
c via the external particle module. The present routine is useful
c when it is necessary to override that automatic assignment.
c
c If the primary energy was assigned via IDL instructions, then
c the settings of this routine are not taken into account,
c returning a nonzero return code.
c
c Written by: S. J. Sciutto, La Plata 2019.
c
c
c Arguments:
c =========
c
c primener........ (input, double precision) The primary energy in
c GeV.
c irc............. (output, integer) Return code. 0 means normal
c return.
c
c
c<--->
|
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
| Back to AIRES home |