COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cskipComment.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine cskipcomment (io, icon)
 

Function/Subroutine Documentation

◆ cskipcomment()

subroutine cskipcomment ( integer  io,
integer  icon 
)

Definition at line 19 of file cskipComment.f.

References false, and true.

Referenced by __ccalcstdatmos.f__(), cinisegatmos(), cinisprim0(), cnrldataread(), crigcutfmt1(), crigcutfmt2(), crigcutfmt4(), crigcutfmt5(), csampaf0(), and cstdatmos0().

19 ! io: integer. input.logical file #
20 ! icon: integer. output. 0 --> ok
21 ! 1 --> no such line or error
22 !
23  implicit none
24  integer io, icon
25 
26  character*16 headline
27  integer ios
28  logical ok
29 
30  ok = .false.
31  icon = 0
32  do while(.not. ok)
33  read(io, '(a)', iostat=ios) headline
34  if(ios .ne. 0) then
35  icon = 1
36  ok = .true.
37  write(*, *) ' no separator'
38  else
39  ok =headline(1:16) .eq. '#---------------'
40  endif
41  enddo
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
Definition: cblkElemag.h:7
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon ! knockon is considered Obsolete *PhotoProd false
Definition: cblkElemag.h:7
Here is the caller graph for this function: