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

Go to the source code of this file.

Functions/Subroutines

subroutine c4to3mom (four, three)
 
subroutine c3to4momentum (three, four)
 

Function/Subroutine Documentation

◆ c3to4momentum()

subroutine c3to4momentum ( type(coord three,
type(fmom four 
)

Definition at line 19 of file c4to3mom.f.

19  implicit none
20 !---- include '../Particle/Zptcl.h'
21 #include "Zptcl.h"
22 !---- include 'Zcoord.h'
23 #include "Zcoord.h"
24 !
25  type(coord)::three ! input
26  type(fmom)::four ! output
27 
28  four%p(1) = three%r(1)
29  four%p(2) = three%r(2)
30  four%p(3) = three%r(3)
Definition: Zptcl.h:72
Definition: Zcoord.h:43

◆ c4to3mom()

subroutine c4to3mom ( type(fmom four,
type(coord three 
)

Definition at line 4 of file c4to3mom.f.

4  implicit none
5 !---- include '../Particle/Zptcl.h'
6 #include "Zptcl.h"
7 !---- include 'Zcoord.h'
8 #include "Zcoord.h"
9 !
10  type(fmom)::four ! input.
11  type(coord)::three ! output.
12 !
13  three%r(1) = four%p(1)
14  three%r(2) = four%p(2)
15  three%r(3) = four%p(3)
Definition: Zptcl.h:72
Definition: Zcoord.h:43