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

Definition at line 1686 of file t_erfa_c.c.

References eraApio13(), eraAtoiq(), and vvd().

Referenced by main().

1701 {
1702  double utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1703  ob1, ob2, ri, di;
1704  eraASTROM astrom;
1705 
1706 
1707  utc1 = 2456384.5;
1708  utc2 = 0.969254051;
1709  dut1 = 0.1550675;
1710  elong = -0.527800806;
1711  phi = -1.2345856;
1712  hm = 2738.0;
1713  xp = 2.47230737e-7;
1714  yp = 1.82640464e-6;
1715  phpa = 731.0;
1716  tc = 12.8;
1717  rh = 0.59;
1718  wl = 0.55;
1719  (void) eraApio13(utc1, utc2, dut1, elong, phi, hm, xp, yp,
1720  phpa, tc, rh, wl, &astrom);
1721 
1722  ob1 = 2.710085107986886201;
1723  ob2 = 0.1717653435758265198;
1724  eraAtoiq("R", ob1, ob2, &astrom, &ri, &di);
1725  vvd(ri, 2.710121574449135955, 1e-12,
1726  "eraAtoiq", "R/ri", status);
1727  vvd(di, 0.1729371839114567725, 1e-12,
1728  "eraAtoiq", "R/di", status);
1729 
1730  ob1 = -0.09247619879782006106;
1731  ob2 = 0.1717653435758265198;
1732  eraAtoiq("H", ob1, ob2, &astrom, &ri, &di);
1733  vvd(ri, 2.710121574449135955, 1e-12,
1734  "eraAtoiq", "H/ri", status);
1735  vvd(di, 0.1729371839114567725, 1e-12,
1736  "eraAtoiq", "H/di", status);
1737 
1738  ob1 = 0.09233952224794989993;
1739  ob2 = 1.407758704513722461;
1740  eraAtoiq("A", ob1, ob2, &astrom, &ri, &di);
1741  vvd(ri, 2.710121574449135955, 1e-12,
1742  "eraAtoiq", "A/ri", status);
1743  vvd(di, 0.1729371839114567728, 1e-12,
1744  "eraAtoiq", "A/di", status);
1745 
1746 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
void eraAtoiq(const char *type, double ob1, double ob2, eraASTROM *astrom, double *ri, double *di)
Definition: atoiq.c:3
int eraApio13(double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, eraASTROM *astrom)
Definition: apio13.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: