FACT++  1.0
static void t_apci ( int *  status)
static

Definition at line 410 of file t_erfa_c.c.

References eraASTROM::bm1, eraASTROM::bpn, eraASTROM::eb, eraASTROM::eh, eraASTROM::em, eraApci(), eraASTROM::pmt, eraASTROM::v, and vvd().

Referenced by main().

425 {
426  double date1, date2, ebpv[2][3], ehp[3], x, y, s;
427  eraASTROM astrom;
428 
429 
430  date1 = 2456165.5;
431  date2 = 0.401182685;
432  ebpv[0][0] = 0.901310875;
433  ebpv[0][1] = -0.417402664;
434  ebpv[0][2] = -0.180982288;
435  ebpv[1][0] = 0.00742727954;
436  ebpv[1][1] = 0.0140507459;
437  ebpv[1][2] = 0.00609045792;
438  ehp[0] = 0.903358544;
439  ehp[1] = -0.415395237;
440  ehp[2] = -0.180084014;
441  x = 0.0013122272;
442  y = -2.92808623e-5;
443  s = 3.05749468e-8;
444 
445  eraApci(date1, date2, ebpv, ehp, x, y, s, &astrom);
446 
447  vvd(astrom.pmt, 12.65133794027378508, 1e-11,
448  "eraApci", "pmt", status);
449  vvd(astrom.eb[0], 0.901310875, 1e-12,
450  "eraApci", "eb(1)", status);
451  vvd(astrom.eb[1], -0.417402664, 1e-12,
452  "eraApci", "eb(2)", status);
453  vvd(astrom.eb[2], -0.180982288, 1e-12,
454  "eraApci", "eb(3)", status);
455  vvd(astrom.eh[0], 0.8940025429324143045, 1e-12,
456  "eraApci", "eh(1)", status);
457  vvd(astrom.eh[1], -0.4110930268679817955, 1e-12,
458  "eraApci", "eh(2)", status);
459  vvd(astrom.eh[2], -0.1782189004872870264, 1e-12,
460  "eraApci", "eh(3)", status);
461  vvd(astrom.em, 1.010465295811013146, 1e-12,
462  "eraApci", "em", status);
463  vvd(astrom.v[0], 0.4289638897813379954e-4, 1e-16,
464  "eraApci", "v(1)", status);
465  vvd(astrom.v[1], 0.8115034021720941898e-4, 1e-16,
466  "eraApci", "v(2)", status);
467  vvd(astrom.v[2], 0.3517555123437237778e-4, 1e-16,
468  "eraApci", "v(3)", status);
469  vvd(astrom.bm1, 0.9999999951686013336, 1e-12,
470  "eraApci", "bm1", status);
471  vvd(astrom.bpn[0][0], 0.9999991390295159156, 1e-12,
472  "eraApci", "bpn(1,1)", status);
473  vvd(astrom.bpn[1][0], 0.4978650072505016932e-7, 1e-12,
474  "eraApci", "bpn(2,1)", status);
475  vvd(astrom.bpn[2][0], 0.1312227200000000000e-2, 1e-12,
476  "eraApci", "bpn(3,1)", status);
477  vvd(astrom.bpn[0][1], -0.1136336653771609630e-7, 1e-12,
478  "eraApci", "bpn(1,2)", status);
479  vvd(astrom.bpn[1][1], 0.9999999995713154868, 1e-12,
480  "eraApci", "bpn(2,2)", status);
481  vvd(astrom.bpn[2][1], -0.2928086230000000000e-4, 1e-12,
482  "eraApci", "bpn(3,2)", status);
483  vvd(astrom.bpn[0][2], -0.1312227200895260194e-2, 1e-12,
484  "eraApci", "bpn(1,3)", status);
485  vvd(astrom.bpn[1][2], 0.2928082217872315680e-4, 1e-12,
486  "eraApci", "bpn(2,3)", status);
487  vvd(astrom.bpn[2][2], 0.9999991386008323373, 1e-12,
488  "eraApci", "bpn(3,3)", status);
489 
490 }
double pmt
Definition: erfam.h:17
double eh[3]
Definition: erfam.h:19
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
double bpn[3][3]
Definition: erfam.h:23
double v[3]
Definition: erfam.h:21
double eb[3]
Definition: erfam.h:18
double em
Definition: erfam.h:20
double bm1
Definition: erfam.h:22
void eraApci(double date1, double date2, double ebpv[2][3], double ehp[3], double x, double y, double s, eraASTROM *astrom)
Definition: apci.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: