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

Go to the source code of this file.

Functions/Subroutines

subroutine toasciih (cnum, num, ir, zf)
 
subroutine toasciin (nlow, pp)
 
subroutine toasciic (cc)
 
subroutine toasciinp (n)
 
subroutine toasciihe (he)
 

Function/Subroutine Documentation

◆ toasciic()

subroutine toasciic ( type(child cc)

Definition at line 41 of file asciiprint.f.

41 ! print child at nodal point
42  implicit none
43 #include "Zprivate.h"
44  type(child)::cc
45 
46  write(*,'(3i5, g12.3)')
47  * cc%code, cc%subcode, cc%charge, cc%fm(4)
Definition: Zprivate.h:25

◆ toasciih()

subroutine toasciih ( integer  cnum,
integer  num,
integer, dimension(2)  ir,
type(track zf 
)

Definition at line 2 of file asciiprint.f.

2  implicit none
3 #include "Ztrack.h"
4  integer cnum, num, ir(2)
5  type(track)::zf
6 
7  write(*, '("#")')
8  write(*,
9  * '("# ********************** ")')
10  write(*, '("#")')
11  write(*,
12  * '("# cum event # current # seeds")')
13  write(*,'(i10,i10,8x,2i11)') cnum, num, ir
14  write(*,
15  *'("# 1ry code subc chg E(GeV) cos_zen 1st z(g/cm2)")')
16  write(*,'(i8,2i5,4x,g12.3,3x,f8.5,g12.3)')
17  * zf%p%code, zf%p%subcode, zf%p%charge,
18  * zf%p%fm%p(4), zf%vec%coszenith,
19  * zf%pos%depth/10.
Definition: Ztrack.h:44
real(8), dimension(:,:,:,:), allocatable, save num
Definition: chook.f:40

◆ toasciihe()

subroutine toasciihe ( type(ob he)

Definition at line 62 of file asciiprint.f.

62 ! print high energy particles
63  implicit none
64 #include "Zprivate.h"
65  type(ob)::he
66 
67  write(*, '(i5,3i5, g14.4, 2g12.3, f12.3)')
68  * he%where, he%code, he%subcode, he%charge,
69  * he%erg, he%x/100., he%y/100., he%atime
Definition: Zprivate.h:2

◆ toasciin()

subroutine toasciin ( integer  nlow,
type(parent pp 
)

Definition at line 22 of file asciiprint.f.

22  implicit none
23 #include "Zprivate.h"
24 #include "Ztrack.h"
25  integer nlow
26  type(parent)::pp
27 
28  if(nlow .gt. 0) then
29  write(*,'("# nodal point info:")')
30  write(*,'(a)')
31  * '# # of child code E H(m)'//
32  * ' Depth(g/cm2) cos_zen'
33  write(*,'(i10,i10,3x,g12.3,2x,g12.4,g12.3,2x,f9.5)')
34  * nlow, pp%code, pp%erg, pp%height,
35  * pp%depth/10., pp%coszenith
36  write(*,'(" code subc chg Energy(GeV)")')
37  endif
Definition: Zprivate.h:9

◆ toasciinp()

subroutine toasciinp ( integer  n)

Definition at line 51 of file asciiprint.f.

51  implicit none
52  integer n
53  write(*, '("# # of high energy particles")')
54  write(*, *) n
55  write(*, '(a)')
56  * '# where code subc chg Eenergy(GeV)'//
57  * ' x y(cm) T(n)'
integer n
Definition: Zcinippxc.h:1