FACT++  1.0
static double pal__Eqeqx ( double  date)
static

Definition at line 253 of file palAoppa.c.

References PAL__DAS2R, pal__Nutc(), and t.

Referenced by palAoppa().

253  {
254 
255  const double T2AS=1296000.0;
256 
257  double pal_eqeqx;
258  double t, om, dpsi, deps, eps0;
259 
260  /* interval between basic epoch j2000.0 and current epoch (jc) */
261  t=(date-51544.5)/36525.0;
262 
263  /* longitude of the mean ascending node of the lunar orbit on the
264  * ecliptic, measured from the mean equinox of date */
265  om=PAL__DAS2R*(450160.280+(-5.0*T2AS-482890.539
266  +(7.455+0.008*t)*t)*t);
267 
268  /* nutation */
269  pal__Nutc(date,&dpsi,&deps,&eps0);
270 
271  /* equation of the equinoxes */
272  pal_eqeqx=dpsi*cos(eps0)+PAL__DAS2R*(0.00264*sin(om)+
273  0.000063*sin(om+om));
274 
275  return pal_eqeqx;
276 }
static const double PAL__DAS2R
Definition: palmac.h:78
static void pal__Nutc(double date, double *dpsi, double *deps, double *eps0)
Definition: palAoppa.c:280
TT t
Definition: test_client.c:26

+ Here is the call graph for this function:

+ Here is the caller graph for this function: