FACT++  1.0
double palRvlg ( double  r2000,
double  d2000 
)

Definition at line 78 of file palRvlg.c.

References eraPdp(), and eraS2c().

Referenced by t_rv(), and t_rvlg().

78  {
79 
80 /* Local Variables: */
81  double vb[ 3 ];
82 
83 /*
84 *
85 * Solar velocity due to Galactic rotation and translation
86 *
87 * Speed = 300 km/s
88 *
89 * Apex = L2,B2 90deg, 0deg
90 * = RA,Dec 21 12 01.1 +48 19 47 J2000.0
91 *
92 * This is expressed in the form of a J2000.0 x,y,z vector:
93 *
94 * VA(1) = X = -SPEED*COS(RA)*COS(DEC)
95 * VA(2) = Y = -SPEED*SIN(RA)*COS(DEC)
96 * VA(3) = Z = -SPEED*SIN(DEC)
97 */
98 
99  double va[ 3 ] = { -148.23284, +133.44888, -224.09467 };
100 
101 /* Convert given J2000 RA,Dec to x,y,z. */
102  eraS2c( r2000, d2000, vb );
103 
104 /* Compute dot product with Solar motion vector. */
105  return eraPdp( va, vb );
106 }
double eraPdp(double a[3], double b[3])
Definition: pdp.c:3
void eraS2c(double theta, double phi, double c[3])
Definition: s2c.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: