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

Go to the source code of this file.

Functions/Subroutines

subroutine cprintprim (out)
 
subroutine cprintprim0 (prm, out)
 
subroutine cprinteachcmp (each, out)
 

Function/Subroutine Documentation

◆ cprinteachcmp()

subroutine cprinteachcmp ( type(component each,
integer  out 
)

Definition at line 43 of file cprintPrim.f.

Referenced by cprintprim0().

43  implicit none
44 
45 #include "Zptcl.h"
46 #include "Zprimary.h"
47  type(component):: each
48  integer out
49 !
50  if(out .eq. 5) then
51  write(*, '("#",i4,i6, 2x, a10, a7, a9, a8, 5x, 2g9.3,i4,
52  * 1x, g9.3)')
53  * each%label, each%code, each%symb, each%eunit, each%etype,
54  * each%diff_or_inte,
55  * each%emin, each%emax, each%no_of_seg, each%inte_value
56  else
57  write(out, '("#",i4,i6, 2x, a10, a7, a9, a8, 5x, 2g9.3,i4,
58  * 1x, g9.3)')
59  * each%label, each%code, each%symb, each%eunit, each%etype,
60  * each%diff_or_inte,
61  * each%emin, each%emax, each%no_of_seg, each%inte_value
62  endif
Here is the caller graph for this function:

◆ cprintprim()

subroutine cprintprim ( integer  out)

Definition at line 3 of file cprintPrim.f.

References cprintprim0().

Referenced by __getacceptance.f__(), __getst.f__(), __getst2.f__(), __getst3.f__(), __showspec.f__(), __testsampprim.f__(), chookbgrun(), and testprim().

3  implicit none
4 
5 #include "Zptcl.h"
6 #include "Zprimary.h"
7 #include "Zprimaryv.h"
8  integer out ! input. output logical device #
9 
10  call cprintprim0(prim, out)
subroutine cprintprim0(prm, out)
Definition: cprintPrim.f:15
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cprintprim0()

subroutine cprintprim0 ( type(primaries prm,
integer  out 
)

Definition at line 15 of file cprintPrim.f.

References cprinteachcmp().

Referenced by cprintprim().

15  implicit none
16 #include "Zptcl.h"
17 #include "Zprimary.h"
18 #include "Zprimaryv.h"
19  type(primaries):: prm ! input. primary data
20  integer out ! input. output logical dev. #
21 !
22 !
23  integer i
24 !
25  if(out .eq. 5) then
26  write(*,'("# -----------------# of Component defined=",
27  * i2,"----------------------")') prm%no_of_comps
28  write(*,
29  * '("# Seq.# Code Comp. E_ Unit E_type Diff/Integ",
30  * " Emin Emax # of seg. inte%flux")')
31  else
32  write(out,'("# -----------------# of Component defined=",
33  * i2,"----------------------")') prm%no_of_comps
34  write(out,
35  * '("# Seq.# Code Comp. E_ Unit E_type Diff/Integ",
36  * " Emin Emax # of seg. inte%flux ")')
37  endif
38  do i = 1, prm%no_of_comps
39  call cprinteachcmp(prm%each(i), out)
40  enddo
nodes i
subroutine cprinteachcmp(each, out)
Definition: cprintPrim.f:43
Here is the call graph for this function:
Here is the caller graph for this function: