novascon.h
Go to the documentation of this file.
1 /*
2  Naval Observatory Vector Astrometry Software (NOVAS)
3  C Edition, Version 3.1
4 
5  novascon.h: Header file for novascon.c
6 
7  U. S. Naval Observatory
8  Astronomical Applications Dept.
9  Washington, DC
10  http://www.usno.navy.mil/USNO/astronomical-applications
11 */
12 
13 #ifndef _CONSTS_
14  #define _CONSTS_
15 
16  extern const short int FN1;
17  extern const short int FN0;
18 
19 /*
20  TDB Julian date of epoch J2000.0.
21 */
22 
23  extern const double T0;
24 
25 /*
26  Speed of light in meters/second is a defining physical constant.
27 */
28 
29  extern const double C;
30 
31 /*
32  Light-time for one astronomical unit (AU) in seconds, from DE-405.
33 */
34 
35  extern const double AU_SEC;
36 
37 /*
38  Speed of light in AU/day. Value is 86400 / AU_SEC.
39 */
40 
41  extern const double C_AUDAY;
42 
43 /*
44  Astronomical unit in meters. Value is AU_SEC * C.
45 */
46 
47  extern const double AU;
48 
49 /*
50  Astronomical Unit in kilometers.
51 */
52 
53  extern const double AU_KM;
54 
55 /*
56  Heliocentric gravitational constant in meters^3 / second^2, from
57  DE-405.
58 */
59 
60  extern const double GS;
61 
62 /*
63  Geocentric gravitational constant in meters^3 / second^2, from
64  DE-405.
65 */
66 
67  extern const double GE;
68 
69 /*
70  Radius of Earth in kilometers from IERS Conventions (2003).
71 */
72 
73  extern const double ERAD;
74 
75 /*
76  Earth ellipsoid flattening from IERS Conventions (2003).
77  Value is 1 / 298.25642.
78 */
79 
80  extern const double F;
81 
82 /*
83  Rotational angular velocity of Earth in radians/sec from IERS
84  Conventions (2003).
85 */
86 
87  extern const double ANGVEL;
88 
89 /*
90  Reciprocal masses of solar system bodies, from DE-405
91  (Sun mass / body mass).
92  MASS[0] = Earth/Moon barycenter, MASS[1] = Mercury, ...,
93  MASS[9] = Pluto, MASS[10] = Sun, MASS[11] = Moon.
94 */
95 
96  extern const double RMASS[12];
97 
98 /*
99  Value of 2 * pi in radians.
100 */
101 
102  extern const double TWOPI;
103 
104 /*
105  Number of arcseconds in 360 degrees.
106 */
107 
108  extern const double ASEC360;
109 
110 /*
111  Angle conversion constants.
112 */
113 
114  extern const double ASEC2RAD;
115  extern const double DEG2RAD;
116  extern const double RAD2DEG;
117 
118 #endif
const double GE
const double AU_KM
const double T0
const double RAD2DEG
const double ANGVEL
const double AU
const double GS
const double C
const short int FN0
const double RMASS[12]
const short int FN1
const double F
const double AU_SEC
const double C_AUDAY
const double ERAD
const double DEG2RAD
const double ASEC2RAD
const double TWOPI
const double ASEC360