FACT++  1.0
void eraFk5hip ( double  r5h[3][3],
double  s5h[3] 
)

Definition at line 3 of file fk5hip.c.

References eraRv2m(), and ERFA_DAS2R.

Referenced by eraFk52h(), eraFk5hz(), eraH2fk5(), eraHfk5z(), and t_fk5hip().

42 {
43  double v[3];
44 
45 /* FK5 wrt Hipparcos orientation and spin (radians, radians/year) */
46  double epx, epy, epz;
47  double omx, omy, omz;
48 
49  epx = -19.9e-3 * ERFA_DAS2R;
50  epy = -9.1e-3 * ERFA_DAS2R;
51  epz = 22.9e-3 * ERFA_DAS2R;
52 
53  omx = -0.30e-3 * ERFA_DAS2R;
54  omy = 0.60e-3 * ERFA_DAS2R;
55  omz = 0.70e-3 * ERFA_DAS2R;
56 
57 /* FK5 to Hipparcos orientation expressed as an r-vector. */
58  v[0] = epx;
59  v[1] = epy;
60  v[2] = epz;
61 
62 /* Re-express as an r-matrix. */
63  eraRv2m(v, r5h);
64 
65 /* Hipparcos wrt FK5 spin expressed as an r-vector. */
66  s5h[0] = omx;
67  s5h[1] = omy;
68  s5h[2] = omz;
69 
70  return;
71 
72 }
#define ERFA_DAS2R
Definition: erfam.h:60
void eraRv2m(double w[3], double r[3][3])
Definition: rv2m.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: