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

Definition at line 564 of file t_erfa_c.c.

References eraASTROM::along, eraASTROM::bm1, eraASTROM::bpn, eraASTROM::cphi, eraASTROM::diurab, eraASTROM::eb, eraASTROM::eh, eraASTROM::em, eraApco(), eraASTROM::eral, eraASTROM::pmt, eraASTROM::refa, eraASTROM::refb, eraASTROM::sphi, eraASTROM::v, vvd(), eraASTROM::xpl, and eraASTROM::ypl.

Referenced by main().

579 {
580  double date1, date2, ebpv[2][3], ehp[3], x, y, s,
581  theta, elong, phi, hm, xp, yp, sp, refa, refb;
582  eraASTROM astrom;
583 
584 
585  date1 = 2456384.5;
586  date2 = 0.970031644;
587  ebpv[0][0] = -0.974170438;
588  ebpv[0][1] = -0.211520082;
589  ebpv[0][2] = -0.0917583024;
590  ebpv[1][0] = 0.00364365824;
591  ebpv[1][1] = -0.0154287319;
592  ebpv[1][2] = -0.00668922024;
593  ehp[0] = -0.973458265;
594  ehp[1] = -0.209215307;
595  ehp[2] = -0.0906996477;
596  x = 0.0013122272;
597  y = -2.92808623e-5;
598  s = 3.05749468e-8;
599  theta = 3.14540971;
600  elong = -0.527800806;
601  phi = -1.2345856;
602  hm = 2738.0;
603  xp = 2.47230737e-7;
604  yp = 1.82640464e-6;
605  sp = -3.01974337e-11;
606  refa = 0.000201418779;
607  refb = -2.36140831e-7;
608 
609  eraApco(date1, date2, ebpv, ehp, x, y, s,
610  theta, elong, phi, hm, xp, yp, sp,
611  refa, refb, &astrom);
612 
613  vvd(astrom.pmt, 13.25248468622587269, 1e-11,
614  "eraApco", "pmt", status);
615  vvd(astrom.eb[0], -0.9741827110630897003, 1e-12,
616  "eraApco", "eb(1)", status);
617  vvd(astrom.eb[1], -0.2115130190135014340, 1e-12,
618  "eraApco", "eb(2)", status);
619  vvd(astrom.eb[2], -0.09179840186968295686, 1e-12,
620  "eraApco", "eb(3)", status);
621  vvd(astrom.eh[0], -0.9736425571689670428, 1e-12,
622  "eraApco", "eh(1)", status);
623  vvd(astrom.eh[1], -0.2092452125848862201, 1e-12,
624  "eraApco", "eh(2)", status);
625  vvd(astrom.eh[2], -0.09075578152261439954, 1e-12,
626  "eraApco", "eh(3)", status);
627  vvd(astrom.em, 0.9998233241710617934, 1e-12,
628  "eraApco", "em", status);
629  vvd(astrom.v[0], 0.2078704985147609823e-4, 1e-16,
630  "eraApco", "v(1)", status);
631  vvd(astrom.v[1], -0.8955360074407552709e-4, 1e-16,
632  "eraApco", "v(2)", status);
633  vvd(astrom.v[2], -0.3863338980073114703e-4, 1e-16,
634  "eraApco", "v(3)", status);
635  vvd(astrom.bm1, 0.9999999950277561600, 1e-12,
636  "eraApco", "bm1", status);
637  vvd(astrom.bpn[0][0], 0.9999991390295159156, 1e-12,
638  "eraApco", "bpn(1,1)", status);
639  vvd(astrom.bpn[1][0], 0.4978650072505016932e-7, 1e-12,
640  "eraApco", "bpn(2,1)", status);
641  vvd(astrom.bpn[2][0], 0.1312227200000000000e-2, 1e-12,
642  "eraApco", "bpn(3,1)", status);
643  vvd(astrom.bpn[0][1], -0.1136336653771609630e-7, 1e-12,
644  "eraApco", "bpn(1,2)", status);
645  vvd(astrom.bpn[1][1], 0.9999999995713154868, 1e-12,
646  "eraApco", "bpn(2,2)", status);
647  vvd(astrom.bpn[2][1], -0.2928086230000000000e-4, 1e-12,
648  "eraApco", "bpn(3,2)", status);
649  vvd(astrom.bpn[0][2], -0.1312227200895260194e-2, 1e-12,
650  "eraApco", "bpn(1,3)", status);
651  vvd(astrom.bpn[1][2], 0.2928082217872315680e-4, 1e-12,
652  "eraApco", "bpn(2,3)", status);
653  vvd(astrom.bpn[2][2], 0.9999991386008323373, 1e-12,
654  "eraApco", "bpn(3,3)", status);
655  vvd(astrom.along, -0.5278008060301974337, 1e-12,
656  "eraApco", "along", status);
657  vvd(astrom.xpl, 0.1133427418174939329e-5, 1e-17,
658  "eraApco", "xpl", status);
659  vvd(astrom.ypl, 0.1453347595745898629e-5, 1e-17,
660  "eraApco", "ypl", status);
661  vvd(astrom.sphi, -0.9440115679003211329, 1e-12,
662  "eraApco", "sphi", status);
663  vvd(astrom.cphi, 0.3299123514971474711, 1e-12,
664  "eraApco", "cphi", status);
665  vvd(astrom.diurab, 0, 0,
666  "eraApco", "diurab", status);
667  vvd(astrom.eral, 2.617608903969802566, 1e-12,
668  "eraApco", "eral", status);
669  vvd(astrom.refa, 0.2014187790000000000e-3, 1e-15,
670  "eraApco", "refa", status);
671  vvd(astrom.refb, -0.2361408310000000000e-6, 1e-18,
672  "eraApco", "refb", status);
673 
674 }
double pmt
Definition: erfam.h:17
double refa
Definition: erfam.h:32
double eh[3]
Definition: erfam.h:19
double eral
Definition: erfam.h:31
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
double ypl
Definition: erfam.h:27
double sphi
Definition: erfam.h:28
double refb
Definition: erfam.h:33
double cphi
Definition: erfam.h:29
double along
Definition: erfam.h:24
double bpn[3][3]
Definition: erfam.h:23
void eraApco(double date1, double date2, double ebpv[2][3], double ehp[3], double x, double y, double s, double theta, double elong, double phi, double hm, double xp, double yp, double sp, double refa, double refb, eraASTROM *astrom)
Definition: apco.c:3
double v[3]
Definition: erfam.h:21
double eb[3]
Definition: erfam.h:18
double xpl
Definition: erfam.h:26
double em
Definition: erfam.h:20
double bm1
Definition: erfam.h:22
double diurab
Definition: erfam.h:30

+ Here is the call graph for this function:

+ Here is the caller graph for this function: