FACT++  1.0
void eraP06e ( double  date1,
double  date2,
double *  eps0,
double *  psia,
double *  oma,
double *  bpa,
double *  bqa,
double *  pia,
double *  bpia,
double *  epsa,
double *  chia,
double *  za,
double *  zetaa,
double *  thetaa,
double *  pa,
double *  gam,
double *  phi,
double *  psi 
)

Definition at line 3 of file p06e.c.

References eraObl06(), ERFA_DAS2R, ERFA_DJ00, ERFA_DJC, and t.

Referenced by palPrenut(), and t_p06e().

126 {
127  double t;
128 
129 /* Interval between fundamental date J2000.0 and given date (JC). */
130  t = ((date1 - ERFA_DJ00) + date2) / ERFA_DJC;
131 
132 /* Obliquity at J2000.0. */
133 
134  *eps0 = 84381.406 * ERFA_DAS2R;
135 
136 /* Luni-solar precession. */
137 
138  *psia = ( 5038.481507 +
139  ( -1.0790069 +
140  ( -0.00114045 +
141  ( 0.000132851 +
142  ( -0.0000000951 )
143  * t) * t) * t) * t) * t * ERFA_DAS2R;
144 
145 /* Inclination of mean equator with respect to the J2000.0 ecliptic. */
146 
147  *oma = *eps0 + ( -0.025754 +
148  ( 0.0512623 +
149  ( -0.00772503 +
150  ( -0.000000467 +
151  ( 0.0000003337 )
152  * t) * t) * t) * t) * t * ERFA_DAS2R;
153 
154 /* Ecliptic pole x, J2000.0 ecliptic triad. */
155 
156  *bpa = ( 4.199094 +
157  ( 0.1939873 +
158  ( -0.00022466 +
159  ( -0.000000912 +
160  ( 0.0000000120 )
161  * t) * t) * t) * t) * t * ERFA_DAS2R;
162 
163 /* Ecliptic pole -y, J2000.0 ecliptic triad. */
164 
165  *bqa = ( -46.811015 +
166  ( 0.0510283 +
167  ( 0.00052413 +
168  ( -0.000000646 +
169  ( -0.0000000172 )
170  * t) * t) * t) * t) * t * ERFA_DAS2R;
171 
172 /* Angle between moving and J2000.0 ecliptics. */
173 
174  *pia = ( 46.998973 +
175  ( -0.0334926 +
176  ( -0.00012559 +
177  ( 0.000000113 +
178  ( -0.0000000022 )
179  * t) * t) * t) * t) * t * ERFA_DAS2R;
180 
181 /* Longitude of ascending node of the moving ecliptic. */
182 
183  *bpia = ( 629546.7936 +
184  ( -867.95758 +
185  ( 0.157992 +
186  ( -0.0005371 +
187  ( -0.00004797 +
188  ( 0.000000072 )
189  * t) * t) * t) * t) * t) * ERFA_DAS2R;
190 
191 /* Mean obliquity of the ecliptic. */
192 
193  *epsa = eraObl06(date1, date2);
194 
195 /* Planetary precession. */
196 
197  *chia = ( 10.556403 +
198  ( -2.3814292 +
199  ( -0.00121197 +
200  ( 0.000170663 +
201  ( -0.0000000560 )
202  * t) * t) * t) * t) * t * ERFA_DAS2R;
203 
204 /* Equatorial precession: minus the third of the 323 Euler angles. */
205 
206  *za = ( -2.650545 +
207  ( 2306.077181 +
208  ( 1.0927348 +
209  ( 0.01826837 +
210  ( -0.000028596 +
211  ( -0.0000002904 )
212  * t) * t) * t) * t) * t) * ERFA_DAS2R;
213 
214 /* Equatorial precession: minus the first of the 323 Euler angles. */
215 
216  *zetaa = ( 2.650545 +
217  ( 2306.083227 +
218  ( 0.2988499 +
219  ( 0.01801828 +
220  ( -0.000005971 +
221  ( -0.0000003173 )
222  * t) * t) * t) * t) * t) * ERFA_DAS2R;
223 
224 /* Equatorial precession: second of the 323 Euler angles. */
225 
226  *thetaa = ( 2004.191903 +
227  ( -0.4294934 +
228  ( -0.04182264 +
229  ( -0.000007089 +
230  ( -0.0000001274 )
231  * t) * t) * t) * t) * t * ERFA_DAS2R;
232 
233 /* General precession. */
234 
235  *pa = ( 5028.796195 +
236  ( 1.1054348 +
237  ( 0.00007964 +
238  ( -0.000023857 +
239  ( 0.0000000383 )
240  * t) * t) * t) * t) * t * ERFA_DAS2R;
241 
242 /* Fukushima-Williams angles for precession. */
243 
244  *gam = ( 10.556403 +
245  ( 0.4932044 +
246  ( -0.00031238 +
247  ( -0.000002788 +
248  ( 0.0000000260 )
249  * t) * t) * t) * t) * t * ERFA_DAS2R;
250 
251  *phi = *eps0 + ( -46.811015 +
252  ( 0.0511269 +
253  ( 0.00053289 +
254  ( -0.000000440 +
255  ( -0.0000000176 )
256  * t) * t) * t) * t) * t * ERFA_DAS2R;
257 
258  *psi = ( 5038.481507 +
259  ( 1.5584176 +
260  ( -0.00018522 +
261  ( -0.000026452 +
262  ( -0.0000000148 )
263  * t) * t) * t) * t) * t * ERFA_DAS2R;
264 
265  return;
266 
267 }
#define ERFA_DJ00
Definition: erfam.h:87
#define ERFA_DAS2R
Definition: erfam.h:60
double eraObl06(double date1, double date2)
Definition: obl06.c:3
#define ERFA_DJC
Definition: erfam.h:81
TT t
Definition: test_client.c:26

+ Here is the call graph for this function:

+ Here is the caller graph for this function: