FACT++  1.0
double eraGmst06 ( double  uta,
double  utb,
double  tta,
double  ttb 
)

Definition at line 3 of file gmst06.c.

References eraAnp(), eraEra00(), ERFA_DAS2R, ERFA_DJ00, ERFA_DJC, and t.

Referenced by eraEe06a(), palGmst(), palGmsta(), and t_gmst06().

64 {
65  double t, gmst;
66 
67 /* TT Julian centuries since J2000.0. */
68  t = ((tta - ERFA_DJ00) + ttb) / ERFA_DJC;
69 
70 /* Greenwich mean sidereal time, IAU 2006. */
71  gmst = eraAnp(eraEra00(uta, utb) +
72  ( 0.014506 +
73  ( 4612.156534 +
74  ( 1.3915817 +
75  ( -0.00000044 +
76  ( -0.000029956 +
77  ( -0.0000000368 )
78  * t) * t) * t) * t) * t) * ERFA_DAS2R);
79 
80  return gmst;
81 
82 }
#define ERFA_DJ00
Definition: erfam.h:87
#define ERFA_DAS2R
Definition: erfam.h:60
double eraEra00(double dj1, double dj2)
Definition: era00.c:3
#define ERFA_DJC
Definition: erfam.h:81
TT t
Definition: test_client.c:26
double eraAnp(double a)
Definition: anp.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: