FACT++  1.0
void eraPr00 ( double  date1,
double  date2,
double *  dpsipr,
double *  depspr 
)

Definition at line 3 of file pr00.c.

References ERFA_DAS2R, ERFA_DJ00, ERFA_DJC, and t.

Referenced by eraBp00(), eraEe00a(), eraEe00b(), eraPn00(), and t_pr00().

72 {
73  double t;
74 
75 /* Precession and obliquity corrections (radians per century) */
76  static const double PRECOR = -0.29965 * ERFA_DAS2R,
77  OBLCOR = -0.02524 * ERFA_DAS2R;
78 
79 /* Interval between fundamental epoch J2000.0 and given date (JC). */
80  t = ((date1 - ERFA_DJ00) + date2) / ERFA_DJC;
81 
82 /* Precession rate contributions with respect to IAU 1976/80. */
83  *dpsipr = PRECOR * t;
84  *depspr = OBLCOR * t;
85 
86  return;
87 
88 }
#define ERFA_DJ00
Definition: erfam.h:87
#define ERFA_DAS2R
Definition: erfam.h:60
#define ERFA_DJC
Definition: erfam.h:81
TT t
Definition: test_client.c:26

+ Here is the caller graph for this function: