FACT++  1.0
void palPrebn ( double  bep0,
double  bep1,
double  rmatp[3][3] 
)

Definition at line 76 of file palPrebn.c.

References PAL__DAS2R, palDeuler(), t, and telData::w.

Referenced by palPreces(), and t_prebn().

76  {
77 
78  double t,bigt, zeta, theta, z, tas2r, w;
79 
80  /* Interval between basic epoch B1850.0 and beginning epoch in TC */
81  bigt = (bep0-1850)/100.;
82 
83  /* Interval over which precession required, in tropical centuries */
84  t = (bep1-bep0)/100.;
85 
86  /* Euler angles */
87  tas2r = t * PAL__DAS2R;
88  w = 2303.5548 + ( 1.39720 + 0.000059 * bigt) * bigt;
89 
90  zeta = ( w + ( 0.30242 - 0.000269 * bigt + 0.017996 * t ) * t ) * tas2r;
91  z = ( w + ( 1.09478 + 0.000387 * bigt + 0.018324 * t ) * t ) * tas2r;
92  theta = ( 2005.1125 + ( -0.85294 - 0.000365 * bigt ) * bigt +
93  (-0.42647 - 0.000365 * bigt - 0.041802 * t ) * t ) * tas2r;
94 
95  /* Rotation matrix */
96  palDeuler("ZYZ", -zeta, theta, -z, rmatp);
97 
98 }
static const double PAL__DAS2R
Definition: palmac.h:78
double w
Definition: palObs.c:168
void palDeuler(const char *order, double phi, double theta, double psi, double rmat[3][3])
Definition: palDeuler.c:95
TT t
Definition: test_client.c:26

+ Here is the call graph for this function:

+ Here is the caller graph for this function: