COSMOS v7.655
COSMOSv7655
(AirShowerMC)
Zcoord.h
Go to the documentation of this file.
1
/*
2
3
#include "Zunionmap.h"
4
5
c sys="xyz": origin is center of the Earth.
6
c x: directed to longitude 0, latitude 0
7
c y: directed to longitude 90 deg, latitude 0
8
c z: center to the North pole
9
c ****************************************************************
10
c * During the paticle tracking, this system is used. *
11
c ****************************************************************
12
c
13
14
15
c
16
structure /coord/
17
#ifdef UNIONMAP
18
union
19
map
20
#endif
21
real*8 r(3)
22
#ifdef UNIONMAP
23
endmap
24
map
25
real*8 x, y, z ! x,y,z in m
26
endmap ! 'xyz'
27
map
28
real*8 lat, ! latitude in deg. + is to the north.
29
* long, ! longitude in deg. + is to the east.
30
* h ! height in m
31
endmap ! 'llh'
32
map
33
real*8 theta, ! polar angle
34
* phi, ! azimuthal angle
35
* radius ! radial distance
36
endmap ! 'sph'
37
endunion
38
#endif
39
character*4 sys ! which system. 'xyz', 'llh', 'sph'
40
end structure
41
*/
42
43
struct
coord
{
44
double
r
[3];
45
char
sys
[4];
46
DUMMYCHAR
47
};
48
DUMMYCHAR
#define DUMMYCHAR
Definition:
Zdef.h:8
coord::sys
char sys[4]
Definition:
Zcoord.h:45
coord::r
double r[3]
Definition:
Zcoord.h:44
coord
Definition:
Zcoord.h:43
include
Zcoord.h
Generated by
1.8.13